ETC overwrite fix added to arch restore
This commit is contained in:
parent
512ce5f600
commit
d74929f654
1 changed files with 3 additions and 1 deletions
|
@ -38,12 +38,14 @@ function restore_config() {
|
||||||
cp -Rf etc/pacman.d /etc
|
cp -Rf etc/pacman.d /etc
|
||||||
cp pacman.conf /etc
|
cp pacman.conf /etc
|
||||||
pacman --noconfirm -Sy
|
pacman --noconfirm -Sy
|
||||||
|
pacman --noconfirm -S rsync
|
||||||
if [ -f ./exclusions ]; then
|
if [ -f ./exclusions ]; then
|
||||||
exclusions # this runs exclusions
|
exclusions # this runs exclusions
|
||||||
fi
|
fi
|
||||||
pacman -S - < $aptpkgfile
|
pacman -S - < $aptpkgfile
|
||||||
# we should be set app wise now the configs
|
# 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 3 "You may want to reboot for changes to take effect"
|
||||||
cprint 2 "Done!"
|
cprint 2 "Done!"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue