Disable set -e for a part
This commit is contained in:
parent
2b96cb7402
commit
236d101c42
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user