Disable set -e for a part

This commit is contained in:
RealStickman 2022-06-05 20:04:53 +02:00
parent 2b96cb7402
commit 236d101c42

View File

@ -389,12 +389,14 @@ chsh -s /usr/bin/fish "$USER"
#enable vnstat #enable vnstat
sudo systemctl enable --now vnstat sudo systemctl enable --now vnstat
# NOTE unsets set -e temporarily
set +e
# setup autotrash # setup autotrash
# NOTE without this directory autotrash.service fails to run # NOTE without this directory autotrash.service fails to run
mkdir -p "$HOME/.local/share/Trash/info" mkdir -p "$HOME/.local/share/Trash/info"
autotrash -d 5 --install autotrash -d 5 --install
# NOTE fix script exiting after this for some reason systemctl --user enable autotrash.timer
systemctl --user enable autotrash.timer || true set -e
# enable lockscreen for systemd # enable lockscreen for systemd
#sudo systemctl enable betterlockscreen@$USER #sudo systemctl enable betterlockscreen@$USER