1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

kiss: Added debug mode

This commit is contained in:
Dylan Araps 2019-08-01 19:31:27 +03:00
parent fdc74d5c20
commit 14e0b287fc

3
kiss
View File

@ -810,6 +810,7 @@ pkg_updates() {
pkg_clean() { pkg_clean() {
# Clean up on exit or error. This removes everything related # Clean up on exit or error. This removes everything related
# to the build. # to the build.
[ "$KISS_DEBUG" = 1 ] && return
# Remove temporary directories. # Remove temporary directories.
rm -rf -- "$mak_dir" "$pkg_dir" "$tar_dir" rm -rf -- "$mak_dir" "$pkg_dir" "$tar_dir"
@ -1001,7 +1002,7 @@ args() {
# Print version and exit. # Print version and exit.
v|ve|ver|vers|versi|versio|version) v|ve|ver|vers|versi|versio|version)
log "kiss 0.5.10" log "kiss 0.5.11"
;; ;;
# Print usage and exit. # Print usage and exit.