summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-26 23:06:15 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-26 23:06:15 +0200
commit28409a7f008ed1d4416c6dbc310cd8b673fa1ebe (patch)
tree8a300cb6a652cf9af44347dd5d84a7f8a610d4fb
parentbb2ff6647ac9d7cbdf3186027599c4beb2be93ff (diff)
oops
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 93864f5..19f3d32 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -93,7 +93,7 @@ pkg_remove () {
pkg_update () {
cd $PDIR/$1
NEW=$($VCS_CMD $VCS_OPTIONS $VCS_INCOMING)
- if ([ $? != 0 ]) {
+ if ([ $? = 0 ]) {
info "Updating package $1 to $(echo $NEW | tail -n 1)"
$VCS_CMD $VCS_OPTIONS $VCS_UPDATE $VCS_UPDATE_OPTIONS
checklinks $CL_OPTIONS