aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoreply@github.com <noreply@github.com>2020-03-05 15:13:03 +0000
committernoreply@github.com <noreply@github.com>2020-03-05 15:13:03 +0000
commit156fbf64ae0a637f886890b7f7b8e7f384d20c59 (patch)
tree8a71f1da6673ae1a2596b35f6090fdec4771d1db
parent57da689bab21ba20b4062e95d08ed93405876d3a (diff)
parent8daa984161548cf373341869137081642c91bdc4 (diff)
downloadcpt-156fbf64ae0a637f886890b7f7b8e7f384d20c59.tar.gz
Merge pull request #116 from CarbsLinux/pre-install
add pre-install hook FossilOrigin-Name: 020f49e037f4ffbd331d9ccb97c4cf2897d1f07e54eac22fdcc6c451f4a8ef79
-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"