aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-28 08:19:50 +0000
committermerakor <cem@ckyln.com>2020-05-28 08:19:50 +0000
commit3408889014f57d7a7a84436c4970c8f9a4b0831d (patch)
tree4c2c6efa0d3cf37cd45d8ed39a1a3a9f505e93c5
parent18a3e0197c0723a6a0ea779a6bdd30b8bc803b18 (diff)
downloadcpt-3408889014f57d7a7a84436c4970c8f9a4b0831d.tar.gz
kiss: use $sys_db for remove hook
FossilOrigin-Name: 4266379f746efc0deab2e4ce1f2aa91ae0059ae1a2e931140d920455d101ca16
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index fb2dc1b..4baee37 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" root
+ run_hook pre-remove "$1" "$sys_db/$1" root
while read -r file; do
# The file is in '/etc' skip it. This prevents the package