install: run interactively if stin AND stdout are a terminal
This commit is contained in:
parent
50fdc150b8
commit
795bae0929
1 changed files with 2 additions and 2 deletions
|
@ -36,11 +36,11 @@ greeting() {
|
|||
info " Target: $cyan$TARGET$rst"
|
||||
info " Git user: $yellow$GIT_USER <$GIT_EMAIL>$rst"
|
||||
|
||||
[ -t 0 ] && {
|
||||
if [ -t 0 -a -t 1 ]; then
|
||||
info
|
||||
info "Press ENTER to continue (CTRL-C to cancel)..."
|
||||
read k
|
||||
}
|
||||
fi
|
||||
}
|
||||
|
||||
make_dirs() {
|
||||
|
|
Loading…
Add table
Reference in a new issue