changed my copy method
This commit is contained in:
parent
cba521ec29
commit
640da30d98
2 changed files with 3 additions and 3 deletions
|
@ -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!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue