From c5bf1664cc6d61d5dcf62cef634682ac7b3786e9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 26 May 2020 20:07:58 +0300 Subject: [PATCH] kiss: Added post-package hook. Stop printing hook message --- kiss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kiss b/kiss index db949af..f4169b3 100755 --- a/kiss +++ b/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() {