diff options
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/update.sh b/update.sh index 795bae99..631c9d75 100755 --- a/update.sh +++ b/update.sh @@ -1,8 +1,17 @@ -#!/bin/sh -# shellcheck disable=SC2086 +#!/usr/bin/env sh +run() { + printf "\033[35;1m> \033[0m\033[35;1m%s\033[0m\n" "Running $(basename "$1") .." -./hm/soispha/conf/firefox/scripts/update_extensions.sh + cmd="$1"; + shift 1 -./sys/nixpkgs/pkgs/update_pkgs.sh "$@" + "$cmd" "$@" +} -./sys/secrets/update.sh +run ./modules/home/conf/firefox/scripts/update_extensions.sh + +run ./pkgs/update_pkgs.sh "$@" + +run ./modules/system/secrets/update_secrets.sh + +# vim: ft=sh |