changed my copy method

This commit is contained in:
kake26 2024-05-21 19:44:21 -05:00
parent cba521ec29
commit 640da30d98
Signed by: kake26
GPG key ID: E8AFC43591876B4D
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ function restore_config() {
sleep 1
aptpkgfile="installed_packages"
# restore apt first
cp -R etc/apt/ /etc
cp -Rf etc/apt/ /etc
chown -R _apt /etc/apt
apt update
apt upgrade -y
@ -51,7 +51,7 @@ function restore_config() {
fi
# we should be set app wise now the configs
cp -R etc/ /etc
cp -Rf etc/ /etc
chown -R _apt /etc/apt
cprint 3 "You may want to reboot for changes to take effect"
cprint 2 "Done!"