forked from RP1/RaveOS-arch
some bug fixes
This commit is contained in:
parent
3330f689a5
commit
0d1e0f22ef
1 changed files with 10 additions and 6 deletions
|
@ -40,6 +40,7 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
|
||||||
rsync -ap --info=progress2 /home/$USER/Games $FOLDER
|
rsync -ap --info=progress2 /home/$USER/Games $FOLDER
|
||||||
rsync -ap --info=progress2 /home/$USER/.librewolf $FOLDER 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.librewolf $FOLDER 2>/dev/null
|
||||||
rsync -ap --info=progress2 /home/$USER/.steam $FOLDER 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.steam $FOLDER 2>/dev/null
|
||||||
|
|
||||||
mkdir -p $FOLDER/.config
|
mkdir -p $FOLDER/.config
|
||||||
rsync -ap --info=progress2 /home/$USER/.config/Bitwarden $FOLDER/.config 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.config/Bitwarden $FOLDER/.config 2>/dev/null
|
||||||
rsync -ap --info=progress2 /home/$USER/.config/heroic $FOLDER/.config 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.config/heroic $FOLDER/.config 2>/dev/null
|
||||||
|
@ -73,17 +74,20 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
|
||||||
rsync -ap --info=progress2 /home/$USER/.config/kdeconnect $FOLDER/.config 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.config/kdeconnect $FOLDER/.config 2>/dev/null
|
||||||
rsync -ap --info=progress2 /home/$USER/.config/Helvum $FOLDER/.config 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.config/Helvum $FOLDER/.config 2>/dev/null
|
||||||
rsync -ap --info=progress2 /home/$USER/.config/calibre $FOLDER/.config 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.config/calibre $FOLDER/.config 2>/dev/null
|
||||||
#mkdir -p $FOLDER/.local/share/
|
|
||||||
rsync -ap --info=progress2 --relative /home/$USER/.local/share/gnome-shell $FOLDER/.local/share 2>/dev/null
|
mkdir -p $FOLDER/.local/share/
|
||||||
|
rsync -ap --info=progress2 /home/$USER/.local/share/gnome-shell $FOLDER/.local/share 2>/dev/null
|
||||||
rsync -ap --info=progress2 /home/$USER/.local/share/flatpak/overrides/ $FOLDER/.local/share/flatpak 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.local/share/flatpak/overrides/ $FOLDER/.local/share/flatpak 2>/dev/null
|
||||||
rsync -ap --info=progress2 /home/$USER/.local/share/lutris $FOLDER/.local/share 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.local/share/lutris $FOLDER/.local/share 2>/dev/null
|
||||||
rsync -ap --info=progress2 /home/$USER/.local/share/TelegramDesktop $FOLDER/.local/share 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.local/share/TelegramDesktop $FOLDER/.local/share 2>/dev/null
|
||||||
|
|
||||||
mkdir -p $FOLDER/.var/app/
|
mkdir -p $FOLDER/.var/app/
|
||||||
rsync -ap --info=progress2 --relative /home/$USER/.var/app/ $FOLDER/.var/app 2>/dev/null
|
rsync -ap --info=progress2 /home/$USER/.var/app/ $FOLDER/.var/app 2>/dev/null
|
||||||
|
|
||||||
sudo rsync -ap --info=progress2 --relative /etc/libvirt $FOLDER 2>/dev/null
|
mkdir $FOLDER/etc/
|
||||||
|
sudo rsync -ap --info=progress2 /etc/libvirt $FOLDER 2>/dev/null
|
||||||
|
|
||||||
sudo rsync -ap --info=progress2 --relaitve /usr/share/jellyfin/web/config.json $FOLDER 2>/dev/null
|
sudo rsync -ap --info=progress2 /usr/share/jellyfin/web/config.json $FOLDER 2>/dev/null
|
||||||
|
|
||||||
if [[ $Locale == LANG=hu_HU.UTF-8 ]]; then
|
if [[ $Locale == LANG=hu_HU.UTF-8 ]]; then
|
||||||
echo ${bold}${yellow}Hungarian Language detected.${normal}
|
echo ${bold}${yellow}Hungarian Language detected.${normal}
|
||||||
|
@ -131,7 +135,7 @@ if [[ $user_choice = *"Restore all of my data and settings"* ]]; then
|
||||||
echo Copying ${bold}${yellow}Restoring $USER Settings and Files ${normal} into ${bold}${yellow}$FOLDER/${normal}
|
echo Copying ${bold}${yellow}Restoring $USER Settings and Files ${normal} into ${bold}${yellow}$FOLDER/${normal}
|
||||||
|
|
||||||
sudo rsync -ap --info=progress2 $FOLDER/etc/libvirt /etc/
|
sudo rsync -ap --info=progress2 $FOLDER/etc/libvirt /etc/
|
||||||
sudo rsync -ap --info=progress2 $FOLDER/usr/share/jellyfin/web/config.json /usr/share/jellyfin/web/
|
sudo rsync -ap --info=progress2 $FOLDER/config.json /usr/share/jellyfin/web/
|
||||||
rsync -ap --info=progress2 $FOLDER /home/$USER/
|
rsync -ap --info=progress2 $FOLDER /home/$USER/
|
||||||
|
|
||||||
if [[ $Desktop == GNOME ]]; then
|
if [[ $Desktop == GNOME ]]; then
|
||||||
|
|
Loading…
Reference in a new issue