Revert "xbps-src: allow to use install-destdir for pkgs already installed."
This reverts commit 4478b5ead3c1a1138728e5d7ea4f4ec3838703ab.
This commit is contained in:
parent
f9b1494648
commit
a0ea610634
@ -52,11 +52,9 @@ install_pkg()
|
|||||||
check_installed_pkg "$pkg"
|
check_installed_pkg "$pkg"
|
||||||
if [ $? -eq 1 -o $? -eq 0 ]; then
|
if [ $? -eq 1 -o $? -eq 0 ]; then
|
||||||
instver="$($XBPS_PKGDB_CMD version $pkgname)"
|
instver="$($XBPS_PKGDB_CMD version $pkgname)"
|
||||||
if [ -n "$instver" -a "$install_destdir_target" = "no" ]; then
|
if [ -n "$instver" ]; then
|
||||||
echo "=> $pkgname-$instver already installed."
|
echo "=> $pkgname-$instver already installed."
|
||||||
return 0
|
return 0
|
||||||
elif [ -n "$instver" -a "$install_destdir_target" = "yes" ]; then
|
|
||||||
echo "=> $pkgname-$instver installed, continuing for DESTDIR installation..."
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user