From 90be15c8882a489e0575d095a77d4548661cac4f Mon Sep 17 00:00:00 2001 From: kake26 Date: Tue, 28 May 2024 21:15:39 -0500 Subject: [PATCH] More work on /etc issue --- restore.deb.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/restore.deb.bash b/restore.deb.bash index b8d5fa2..7734c74 100755 --- a/restore.deb.bash +++ b/restore.deb.bash @@ -43,6 +43,7 @@ function restore_config() { chown -R _apt /etc/apt apt update apt upgrade -y + apt install -y rsync # now the programs installed via apt before we restore configs if [ -f ./exclusions ]; then exclusions # this runs exclusions @@ -60,7 +61,8 @@ function restore_config() { fi # we should be set app wise now the configs - $cpapp -Rf etc/ /etc + #$cpapp -Rf etc/ /etc + rsync -avh --delete --progress etc/ /etc chown -R _apt /etc/apt cprint 3 "You may want to reboot for changes to take effect" cprint 2 "Done!"