More work on /etc issue
This commit is contained in:
parent
acf67abefb
commit
90be15c888
1 changed files with 3 additions and 1 deletions
|
@ -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!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue