about summary refs log tree commit diff stats
path: root/update.sh
blob: dd2e8c7d24e0048ac3a878002f4540e5b5bf05b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 ./modules/home.legacy/conf/firefox/scripts/update_extensions.sh "$@"
__update_sh_run ./modules/by-name/lf/lf/secrets/update_secret.sh "$@"
__update_sh_run ./pkgs/update_pkgs.sh "$@"

echo "Also update out-of tree dependencies, like yt!" 2>&1

# vim: ft=sh