diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-24 18:19:52 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-24 18:19:52 +0200 |
commit | 1f3a4fb2c0e9f9958fc6482a08eb5a3d44ab7aaa (patch) | |
tree | be2b73cba450d22b9ca17662f08fc801f5cc557d /update.sh | |
parent | fix(pkgs/update.sh): Ensure that the `nix flake update` check works (diff) | |
download | nixos-config-1f3a4fb2c0e9f9958fc6482a08eb5a3d44ab7aaa.tar.gz nixos-config-1f3a4fb2c0e9f9958fc6482a08eb5a3d44ab7aaa.zip |
feat(pkgs/update.sh): Notify the user about the run update scripts
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 |