From 6755bec27fbaa2bd8cfb9e9f259083f8d3e41d5c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 14 Jan 2024 16:53:20 -0300 Subject: bin/reconfigure: Always run bin(1) regardless of where this program ends --- bin/reconfigure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/reconfigure') 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 -- cgit v1.2.3