From aa2fa97d9b436aaf6ce6f1bcb5486d4a52257f11 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 9 Feb 2022 19:55:20 -0500 Subject: [PATCH] Hopefully added logging for configure-stormux. Logs saved to ~/.cache/configure-stormux.log. --- configure-stormux.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure-stormux.sh b/configure-stormux.sh index 9777f7c..f41321e 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -32,6 +32,9 @@ if [[ ! -d ~/Desktop ]]; then xdg-user-dirs-update fi +# Set up logging +exec &> >(/usr/bin/tee -a "${XDG_CACHE_HOME:-$HOME/.cache}/configure-stormux.log") + # Check for possible resize diskSource="$(df --output='source' / | tail -1)" diskSize="$(df -h --output='size' / | tail -1 | tr -cd '[:digit:].')"