aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-27 07:03:35 -0300
committerEuAndreh <eu@euandre.org>2023-02-27 07:03:35 -0300
commitfd7fd2d9de3b47c02e5e81e9e172107ddd130f56 (patch)
treea9795af2bd85c818287c6252af6f519ba0853a48 /bin
parentbin/reconfigure: Fix detection if running in a Guix system (diff)
downloaddotfiles-fd7fd2d9de3b47c02e5e81e9e172107ddd130f56.tar.gz
dotfiles-fd7fd2d9de3b47c02e5e81e9e172107ddd130f56.tar.xz
bin/update: Declare $HOSTNAME explicitly (ShellCheck offense)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index 53f0aa0..2f9091d 100755
--- a/bin/update
+++ b/bin/update
@@ -63,6 +63,7 @@ done
shift $((OPTIND - 1))
+HOSTNAME="$(hostname)"
if [ -e /etc/nixos/configuration.nix ]; then
pass show "$HOSTNAME"/andreh |
head -n1 |