Merge pull request #116 from CarbsLinux/pre-install

add pre-install hook
This commit is contained in:
dylan 2020-03-05 17:13:03 +02:00 committed by GitHub
commit 1037c65cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

2
kiss
View File

@ -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"