diff options
Diffstat (limited to 'update.sh')
-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 |