forked from kiss-community/kiss
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'
|
# POSIX 'read' has none of the "nice" options like '-n', '-p'
|
||||||
# etc etc. This is the most basic usage of 'read'.
|
# etc etc. This is the most basic usage of 'read'.
|
||||||
# '_' is used as 'dash' errors when no variable is given to '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() {
|
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.
|
# Automatically say 'yes' to all prompts in the package manager.
|
||||||
# This is handy for scripting purposes.
|
# This is handy for scripting purposes.
|
||||||
#
|
#
|
||||||
# Set it to '1' to enable.
|
# Set it to '0' to say 'yes' to all prompts.
|
||||||
export KISS_NOPROMPT=0
|
export KISS_PROMPT=1
|
||||||
|
|
||||||
# Compression method to use for package tarballs.
|
# Compression method to use for package tarballs.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user