diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-01 20:43:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-01 20:43:35 +0200 |
commit | ee2003cbd0cb8159aa968c2cfaeaba211038c810 (patch) | |
tree | 3bb086f73770ea2a84d7a2e2d194881e500cfcf0 /bin/pkg | |
parent | a972ec332fc17310bf2ad1062ee2112592f853d9 (diff) |
fixed and/or that broke due to [[ change
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,11 +26,11 @@ die () { } check_installed () { - [[ -n "$1" -a -d $PDIR/$1 ]] || die "Not installed: $1\n" + [[ -n "$1" && -d $PDIR/$1 ]] || die "Not installed: $1\n" } check_valid () { - [[ -d $PDIR/$1/.hg -o -d $PDIR/$1/.git ]] || die "Not a valid package name: '$1'\n" + [[ -d $PDIR/$1/.hg || -d $PDIR/$1/.git ]] || die "Not a valid package name: '$1'\n" } clear_line () { |