From f92b8b3c229582f3f7095a68df554f9a535ca702 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 23 Dec 2024 18:38:26 +0100 Subject: feat(pkgs): Hook up to the flake and add needed infrastructure --- update.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 update.sh (limited to 'update.sh') 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 -- cgit 1.4.1