Don't show dry-run warning when option quiet is selected
This commit is contained in:
@@ -221,7 +221,7 @@ execute() {
|
||||
read -p "Start: y/[n]? " answer
|
||||
case $answer in
|
||||
[yY])
|
||||
step_$1 $1 "$STEP_ARGS"
|
||||
step_$1 $1 $STEP_ARGS
|
||||
;;
|
||||
*)
|
||||
echo Aborting installation at step $1
|
||||
@@ -229,7 +229,7 @@ execute() {
|
||||
;;
|
||||
esac
|
||||
else
|
||||
step_$1 $1 "$STEP_ARGS"
|
||||
step_$1 $1 $STEP_ARGS
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -508,7 +508,7 @@ main() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $DRY -ne 0 ] ; then
|
||||
if [ $DRY -ne 0 ] && [ $QUIET -eq 0 ] ; then
|
||||
echo
|
||||
echo " [W] Dry run active."
|
||||
echo " Printed commands may not be accurate (e.g. quotation incorrect)"
|
||||
|
Reference in New Issue
Block a user