Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-07-05 14:18:16 -0500
committerDan McGee <dan@archlinux.org>2011-07-05 21:38:32 -0500
commit043931ca452f6b231eb5b9b0863329843677bd2a (patch)
treebe7dc14140b098e90174dd7457f39bf57f1a809b /scripts/repo-add.sh.in
parente2f00abe26c530a380ef687e50d91e07c6ba57c4 (diff)
Rework -Si display logic
We did some funny stuff here before to allow specifying fully-qualified package names, such as 'testing/gcc' or 'core/gcc'. However, it was done by duplicating code, not to mention an early escape if a repository could not be found for an early target. Something like `pacman -Si foo/bar core/gcc' would not give expected results, although `pacman -Si bar gcc' would. Clean up the code, remove strncpy() usage, and clarify the error messages a bit. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/repo-add.sh.in')
0 files changed, 0 insertions, 0 deletions