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

2
kiss
View File

@ -937,6 +937,8 @@ pkg_install() {
[ "$install_dep" ] && die "$1" "Package requires ${install_dep%, }" [ "$install_dep" ] && die "$1" "Package requires ${install_dep%, }"
run_hook pre-install
pkg_conflicts "$tar_file" "$pkg_name" pkg_conflicts "$tar_file" "$pkg_name"
log "$pkg_name" "Installing package incrementally" log "$pkg_name" "Installing package incrementally"