apt key onership fix

This commit is contained in:
Paul M 2023-10-11 17:14:54 -05:00
parent 8542da79c1
commit 03a41f0f13

View file

@ -28,6 +28,7 @@ function restore_config() {
aptpkgfile="installed_packages" aptpkgfile="installed_packages"
# restore apt first # restore apt first
cp -R etc/apt/ /etc cp -R etc/apt/ /etc
chown -R _apt /etc/apt
apt update apt update
apt upgrade -y apt upgrade -y
# now the programs installed via apt before we restore configs # now the programs installed via apt before we restore configs