diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-23 18:38:26 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-23 18:38:26 +0100 |
commit | f92b8b3c229582f3f7095a68df554f9a535ca702 (patch) | |
tree | 1cf5519f73abae8ad627b49856ca010c82d3068c /update.sh | |
parent | feat(pkgs/back): Init (diff) | |
download | nixos-server-f92b8b3c229582f3f7095a68df554f9a535ca702.tar.gz nixos-server-f92b8b3c229582f3f7095a68df554f9a535ca702.zip |
feat(pkgs): Hook up to the flake and add needed infrastructure
Diffstat (limited to '')
-rwxr-xr-x | update.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..c43b80b --- /dev/null +++ b/update.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env sh +__update_sh_run() { + __update_sh_command="$1" + shift 1 + + printf "\033[35;1m> \033[0m\033[35;1m%s\033[0m\n" "Running '$(basename "$__update_sh_command")' .." + + "$__update_sh_command" "$@" + + unset __update_sh_command +} + +__update_sh_run ./pkgs/update_pkgs.sh "$@" +# vim: ft=sh |