summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-03-11 22:12:11 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-03-11 22:12:11 +0100
commite8d5e210a3f40f03809ec85ac9d19c2bb9e6c68b (patch)
tree2e1b72332a11cf89d51b4c71501673dfb2442341 /src
parent207061727ee23e040745771f72670813791748c3 (diff)
list_packages stupid bugfix
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-pacman.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-pacman.sh b/src/core/libs/lib-pacman.sh
index 48fb61b..a104cee 100644
--- a/src/core/libs/lib-pacman.sh
+++ b/src/core/libs/lib-pacman.sh
@@ -145,7 +145,7 @@ list_package_groups ()
# TODO: check the validity of the specified names in $2
list_packages ()
{
- [ "$1" = repo -o "$2" = group ] || die_error "list_packages \$1 must be repo or group. not $1!"
+ [ "$1" = repo -o "$1" = group ] || die_error "list_packages \$1 must be repo or group. not $1!"
[ "$1" = repo ] && $PACMAN_TARGET -Sl $2
[ "$1" = group ] && $PACMAN_TARGET -Sg $2
}