diff options
| author | Joe Carstairs <me@joeac.net> | 2026-07-03 16:29:17 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-07-03 16:29:17 +0100 |
| commit | ed6a6e5a34a168aee580db6dc94400349645f270 (patch) | |
| tree | c2303d16b2fd37debfc9a0ee6d4f15f8e0157930 | |
| parent | 36ccd48cfc77046b97a89aa9abbc81821e609309 (diff) | |
update.sh exports XDG_RUNTIME_DIR
| -rw-r--r-- | update.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ #!/bin/sh +if [ -z "${XDG_RUNTIME_DIR}" ] +then + export XDG_RUNTIME_DIR=/tmp/xdg/$(id -u joeac.net)-xdg-runtime-dir +fi + cd /home/joeac.net/joeac.net \ && sudo -u joeac.net git pull \ && sudo -u joeac.net make \ - && sudo -u joeac.net XDG_RUNTIME_DIR=/tmp/xdg/$(id -u joeac.net)-xdg-runtime-dir make reinstall + && sudo -u joeac.net make reinstall |
