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