shutils/pkgtarget_funcs: don't exit if pkg is already installed.

--HG--
extra : convert_revision : 3f7a084f70f9cfb65e4db28f478b0a44b2083d2d
This commit is contained in:
Juan RP 2010-01-15 00:15:39 +01:00
parent 6f5aa28a94
commit ae9fe929a4
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ install_pkg()
if [ $? -eq 1 -o $? -eq 0 ]; then
instver="$($XBPS_PKGDB_CMD version $pkgname)"
if [ -n "$instver" ]; then
msg_warn "$pkgname-$instver is already installed, remove or reinstall it."
exit 0
echo "=> $pkgname-$instver already installed."
return 0
fi
fi