From 236d101c4218593e27e9a00a94ed8e36bd7ff8bb Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 5 Jun 2022 20:04:53 +0200 Subject: [PATCH] Disable set -e for a part --- arch-setup/install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index 539f87fa..54180d00 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -389,12 +389,14 @@ chsh -s /usr/bin/fish "$USER" #enable vnstat sudo systemctl enable --now vnstat +# NOTE unsets set -e temporarily +set +e # setup autotrash # NOTE without this directory autotrash.service fails to run mkdir -p "$HOME/.local/share/Trash/info" autotrash -d 5 --install -# NOTE fix script exiting after this for some reason -systemctl --user enable autotrash.timer || true +systemctl --user enable autotrash.timer +set -e # enable lockscreen for systemd #sudo systemctl enable betterlockscreen@$USER