mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
kiss: Change KISS_NOPROMPT to KISS_PROMPT
This commit is contained in:
parent
259a2e9f2b
commit
a6934118af
2
kiss
2
kiss
@ -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
4
kiss.1
@ -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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user