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

@ -17,7 +17,7 @@ To add flatpak support for making it more usable for desktops. Also at one point
# Notes May 21 2024
So allot more testing and work has gotten this thing running well. Debian based is the best supported. Though Arch did work according to my tests. I will need do testing for OpenWRT at a more intensive level though. Either way most of my VM based tests worked. A few minor tweaks such as putting apt into noninteractive.
So allot more testing and work has gotten this thing running well. Debian based is the best supported. Though Arch did work according to my tests. I will need do testing for OpenWRT at a more intensive level though. Either way most of my VM based tests worked. A few minor tweaks such as putting apt into noninteractive. My copy of /etc in the end was a -R not a -Rf, this has been changed even for apt.
# Notes Feb 22 2024

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!"