This commit is contained in:
emmett1
2017-09-16 10:14:27 +08:00
parent f11583baf6
commit 8ff1aac8d3

View File

@@ -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