diff options
author | EuAndreh <eu@euandre.org> | 2024-01-14 16:53:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-01-14 16:53:20 -0300 |
commit | 6755bec27fbaa2bd8cfb9e9f259083f8d3e41d5c (patch) | |
tree | 82abd197713399bcc0cdb79a0aaa9c70b88d90e2 /bin/reconfigure | |
parent | bin/reconfigure: Assume we're always on Guix System (diff) | |
download | dotfiles-6755bec27fbaa2bd8cfb9e9f259083f8d3e41d5c.tar.gz dotfiles-6755bec27fbaa2bd8cfb9e9f259083f8d3e41d5c.tar.xz |
bin/reconfigure: Always run bin(1) regardless of where this program ends
Diffstat (limited to 'bin/reconfigure')
-rwxr-xr-x | bin/reconfigure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reconfigure b/bin/reconfigure index fe88549..9991304 100755 --- a/bin/reconfigure +++ b/bin/reconfigure @@ -85,6 +85,9 @@ if [ "$UPDATE" = true ]; then fi +trap 'bins > /dev/null' EXIT + + HOSTNAME="$(hostname)" pass show "$(hostname)"/andreh | @@ -92,5 +95,3 @@ pass show "$(hostname)"/andreh | sudo -ES guix system -v3 reconfigure "$XDG_CONFIG_HOME"/guix/system.scm guix home -v3 reconfigure "$XDG_CONFIG_HOME"/guix/home.scm - -bins > /dev/null |