From 8ff1aac8d3da10ff326d797eda493ea535e728b5 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sat, 16 Sep 2017 10:14:27 +0800 Subject: [PATCH] updated --- installpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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