aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-03-05 15:03:36 +0000
committermerakor <cem@ckyln.com>2020-03-05 15:03:36 +0000
commit8daa984161548cf373341869137081642c91bdc4 (patch)
tree8a71f1da6673ae1a2596b35f6090fdec4771d1db
parent57da689bab21ba20b4062e95d08ed93405876d3a (diff)
downloadcpt-8daa984161548cf373341869137081642c91bdc4.tar.gz
add pre-install hook
FossilOrigin-Name: 9fb9469720576e34a6aa3de7a73eac22ab2bc44c2c0d56a40e5be4bdce1b4951
-rwxr-xr-xkiss2
1 files changed, 2 insertions, 0 deletions
diff --git a/kiss b/kiss
index 94aec19..fb822c0 100755
--- a/kiss
+++ b/kiss
@@ -937,6 +937,8 @@ pkg_install() {
[ "$install_dep" ] && die "$1" "Package requires ${install_dep%, }"
+ run_hook pre-install
+
pkg_conflicts "$tar_file" "$pkg_name"
log "$pkg_name" "Installing package incrementally"