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
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