diff options
Diffstat (limited to '')
| -rwxr-xr-x | update.sh | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -16,16 +16,19 @@ __update_sh_run() { printf "\033[35;1m> \033[0m\033[35;1m%s\033[0m\n" "Running '$(basename "$__update_sh_command") $*' .." - "$__update_sh_command" "$@" + if ! "$__update_sh_command" "$@"; then + printf "ERROR: Command failed ('%s')\n" "$__update_sh_command" + exit 1 + fi unset __update_sh_command } -__update_sh_run nix flake update +__update_sh_run unflake.sh --backend=nix __update_sh_run ./pkgs/update_pkgs.sh "$@" # __update_sh_run nix flake check -__update_sh_run ./build.sh +__update_sh_run build.sh printf "\033[31;1m%s\033[0m\033[33;1m%s\033[0m\n" "Also update out-of-tree dependencies, like " "yt" 2>&1 |
