This commit is contained in:
olli 2024-09-30 14:28:07 +02:00
parent e7b59a8d4b
commit dff4c8af63

View File

@ -142,9 +142,9 @@ sudo cat <<EOF >${defaultuserhome}/.xsessionrc
# https://github.com/vector-im/element-web/issues/25776
rm -rf ~/.var/app/im.riot.Riot/config/Element/GPUCache
# Backup only if autologin deactivated
if ! grep -qr ^autologin-user= /etc/lightdm
then
# Backup #only if autologin deactivated
#if ! grep -qr ^autologin-user= /etc/lightdm
#then
if [ -f ~/Nextcloud/scripts/backup-this-device.sh ]
then
gnome-terminal --hide-menubar --title=BACKUP --geometry=120x35 -- bash ~/Nextcloud/scripts/backup-this-device.sh
@ -155,7 +155,7 @@ then
then
gnome-terminal --hide-menubar --title=BACKUP --geometry=120x35 -- bash ~/.scripts/backup-this-device.sh
fi
fi
#fi
# Autoupdate flatpak and cinnamon
dconf write /com/linuxmint/updates/auto-update-cinnamon-spices true