Skip to content

Commit 3c9d88a

Browse files
committed
install.sh: don't output printf commands.
1 parent d6a2c6d commit 3c9d88a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,9 @@ for ((i = 0; i < ${#SETUP_CMDS[@]}; i++)); do
301301
if [[ "$CMD" == *"raspi-config"* ]] || [[ "$CMD" == *"$CONFIG_DIR/$CONFIG_FILE"* ]] || [[ "$CMD" == *"\$CONFIG_DIR/\$CONFIG_FILE"* ]]; then
302302
do_config_backup
303303
fi
304-
printf "\"%s\"\n" "$CMD"
304+
if [[ ! "$CMD" == printf* ]]; then
305+
printf "Running: \"%s\"\n" "$CMD"
306+
fi
305307
eval "$CMD"
306308
check_for_error
307309
done

0 commit comments

Comments
 (0)