summaryrefslogtreecommitdiff
path: root/pactest/tests/provision012.py
diff options
context:
space:
mode:
authorCedric Staniewski <cedric@gmx.ca>2009-06-09 21:33:12 +0200
committerDan McGee <dan@archlinux.org>2009-07-26 23:29:55 -0500
commitfb97d325a5f83cea36050472097e06c28bc2964f (patch)
treeff753e9e4622e2f4072dc6ccc3c2e5d977b8d2d6 /pactest/tests/provision012.py
parent2013d062668e511289df50315bed33534ad71240 (diff)
downloadpacman-fb97d325a5f83cea36050472097e06c28bc2964f.tar.xz
Do not allow pkgnames to start with a hyphen
Commandline arguments starting with a hyphen are usually recognized as options by unix tools. Therefore, allowing hyphens at the beginning of a package name requires a different handling of pkgnames as suggested by rm's manpage. It would be possible to make the scripts 'hyphen-safe', but hyphen-prefixed packages will cause trouble for pacman users which do not know these tricks. Signed-off-by: Cedric Staniewski <cedric@gmx.ca> [Dan: remove the repo-add check] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/provision012.py')
0 files changed, 0 insertions, 0 deletions