From 9de01e8c4ebebbe5527faa447191a70a38d4a602 Mon Sep 17 00:00:00 2001 From: kake26 Date: Tue, 21 May 2024 12:47:21 -0500 Subject: [PATCH] Fixed /etc/apt perms after main /etc restore and put apt in noninteractive mode for restore --- restore.deb.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/restore.deb.bash b/restore.deb.bash index b0b67f3..65c2dfd 100755 --- a/restore.deb.bash +++ b/restore.deb.bash @@ -1,6 +1,7 @@ #!/bin/bash source ./restore.lib.bash +export DEBIAN_FRONTEND=noninteractive function cprint () { color="$1" @@ -51,6 +52,7 @@ function restore_config() { # we should be set app wise now the configs cp -R etc/ /etc + chown -R _apt /etc/apt cprint 3 "You may want to reboot for changes to take effect" cprint 2 "Done!" }