mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: Added post-package hook. Stop printing hook message
This commit is contained in:
parent
1bc455f80a
commit
c5bf1664cc
5
kiss
5
kiss
@ -88,9 +88,7 @@ run_hook() {
|
||||
return 0
|
||||
}
|
||||
|
||||
log "$2" "Running $1 hook"
|
||||
|
||||
TYPE=$1 PKG=$2 DEST=$3 . "$KISS_HOOK"
|
||||
TYPE=${1:-null} PKG=${2:-null} DEST=${3:-null} . "$KISS_HOOK"
|
||||
}
|
||||
|
||||
decompress() {
|
||||
@ -577,6 +575,7 @@ pkg_tar() (
|
||||
esac > "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}"
|
||||
|
||||
log "$1" "Successfully created tarball"
|
||||
run_hook post-package "$1"
|
||||
)
|
||||
|
||||
pkg_build() {
|
||||
|
Loading…
Reference in New Issue
Block a user