kiss: Change KISS_NOPROMPT to KISS_PROMPT

This commit is contained in:
Dylan Araps 2020-05-26 18:08:18 +03:00
parent 259a2e9f2b
commit a6934118af
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 3 additions and 3 deletions

2
kiss
View File

@ -47,7 +47,7 @@ prompt() {
# POSIX 'read' has none of the "nice" options like '-n', '-p'
# etc etc. This is the most basic usage of 'read'.
# '_' is used as 'dash' errors when no variable is given to 'read'.
[ "$KISS_NOPROMPT" = 1 ] || read -r _
[ "$KISS_PROMPT" = 0 ] || read -r _
}
as_root() {

4
kiss.1
View File

@ -112,8 +112,8 @@ export KISS_KEEPLOG=0
# Automatically say 'yes' to all prompts in the package manager.
# This is handy for scripting purposes.
#
# Set it to '1' to enable.
export KISS_NOPROMPT=0
# Set it to '0' to say 'yes' to all prompts.
export KISS_PROMPT=1
# Compression method to use for package tarballs.
#