forked from kiss-community/kiss
Merge pull request #116 from CarbsLinux/pre-install
add pre-install hook
This commit is contained in:
commit
1037c65cab
2
kiss
2
kiss
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user