From d74929f654143d8b0e1c93acc039d85eb299a279 Mon Sep 17 00:00:00 2001 From: kake26 Date: Fri, 31 May 2024 20:44:29 -0500 Subject: [PATCH] ETC overwrite fix added to arch restore --- restore.arch.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/restore.arch.bash b/restore.arch.bash index c9f4e7a..81ef2d0 100755 --- a/restore.arch.bash +++ b/restore.arch.bash @@ -38,12 +38,14 @@ function restore_config() { cp -Rf etc/pacman.d /etc cp pacman.conf /etc pacman --noconfirm -Sy + pacman --noconfirm -S rsync if [ -f ./exclusions ]; then exclusions # this runs exclusions fi pacman -S - < $aptpkgfile # we should be set app wise now the configs - cp -Rf etc/ /etc + #cp -Rf etc/ /etc + rsync -avh --delete --progress etc/ /etc cprint 3 "You may want to reboot for changes to take effect" cprint 2 "Done!" }