kiss: fix linter

This commit is contained in:
Dylan Araps 2021-07-14 14:13:27 +03:00
parent d765dbd043
commit 6543f3c769
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 2 deletions

4
kiss
View File

@ -113,7 +113,7 @@ run_hook() {
# their own hook to override this behavior.
set -- "${1:-null}" "${2:-null}" "${3:-null}"
case $KISS_HOOK-$1 in
case ${KISS_HOOK:-}-$1 in
-post-build)
rm -rf "$3/usr/share/gettext" \
"$3/usr/share/polkit-1" \
@ -122,7 +122,7 @@ run_hook() {
;;
*?*-"$1")
"$KISS_HOOK" "$1" "$2" "$3"
"${KISS_HOOK:-}" "$1" "$2" "$3"
;;
esac
}