diff --git a/installpkg b/installpkg index 6b0b174..6a18434 100755 --- a/installpkg +++ b/installpkg @@ -208,7 +208,7 @@ upgradepkg() { if [ ! "$NO_BACKUP" ]; then backupconf fi - removepkg $name -id --no-preremove --no-postremove --no-orphan-check + ROOT="$ROOT" removepkg $name -id --no-preremove --no-postremove --no-orphan-check NO_PREINSTALL=yes NO_POSTINSTALL=yes