add pre-install hook

This commit is contained in:
Cem Keylan 2020-03-05 18:03:37 +03:00
parent 9d19826b85
commit fd0103e621
No known key found for this signature in database
GPG Key ID: D79FAF401E813987

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"