aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index cabe1c5..fb2dc1b 100755
--- a/kiss
+++ b/kiss
@@ -1046,7 +1046,7 @@ pkg_remove() {
"$sys_db/$1/pre-remove" ||:
fi
- run_hook pre-remove "$1" "/var/db/kiss/installed/$1"
+ run_hook pre-remove "$1" "/var/db/kiss/installed/$1" root
while read -r file; do
# The file is in '/etc' skip it. This prevents the package
@@ -1064,7 +1064,7 @@ pkg_remove() {
# we no longer need to block 'Ctrl+C'.
trap pkg_clean EXIT INT
- run_hook post-remove "$1" "$KISS_ROOT/"
+ run_hook post-remove "$1" "$KISS_ROOT/" root
log "$1" "Removed successfully"
}