From 28409a7f008ed1d4416c6dbc310cd8b673fa1ebe Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 26 May 2008 23:06:15 +0200 Subject: oops --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3