Skip to content

Commit

Permalink
install.sh: don't output printf commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Jan 10, 2024
1 parent d6a2c6d commit 3c9d88a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ for ((i = 0; i < ${#SETUP_CMDS[@]}; i++)); do
if [[ "$CMD" == *"raspi-config"* ]] || [[ "$CMD" == *"$CONFIG_DIR/$CONFIG_FILE"* ]] || [[ "$CMD" == *"\$CONFIG_DIR/\$CONFIG_FILE"* ]]; then
do_config_backup
fi
printf "\"%s\"\n" "$CMD"
if [[ ! "$CMD" == printf* ]]; then
printf "Running: \"%s\"\n" "$CMD"
fi
eval "$CMD"
check_for_error
done
Expand Down

0 comments on commit 3c9d88a

Please sign in to comment.