File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ venv_check() {
117117check_for_error () {
118118 if [ $? -ne 0 ]; then
119119 CMD_ERRORS=true
120- warning " ^^^ 😬"
120+ warning " ^^^ 😬 previous command did not exit cleanly! "
121121 fi
122122}
123123
290290
291291find_config
292292
293+ printf " \n"
294+
293295# Run the setup commands from pyproject.toml / tool.pimoroni.commands
294296
297+ inform " Running setup commands...\n"
295298for (( i = 0 ; i < ${# SETUP_CMDS[@]} ; i++ )) ; do
296299 CMD=" ${SETUP_CMDS[$i]} "
297300 # Attempt to catch anything that touches config.txt and trigger a backup
298301 if [[ " $CMD " == * " raspi-config" * ]] || [[ " $CMD " == * " $CONFIG_DIR /$CONFIG_FILE " * ]] || [[ " $CMD " == * " \$ CONFIG_DIR/\$ CONFIG_FILE" * ]]; then
299302 do_config_backup
300303 fi
304+ printf " \" %s\" \n" " $CMD "
301305 eval " $CMD "
302306 check_for_error
303307done
@@ -365,4 +369,4 @@ if [ "$CMD_ERRORS" = true ]; then
365369 exit 1
366370else
367371 exit 0
368- fi
372+ fi
You can’t perform that action at this time.
0 commit comments