save point adding exclusions

This commit is contained in:
Paul M 2023-10-27 16:34:59 -05:00
parent ed616685c8
commit b154e4a448
5 changed files with 23 additions and 0 deletions

View file

@ -1,5 +1,7 @@
#!/bin/bash
source ./restore.lib.bash
function cprint () {
color="$1"
shift
@ -32,6 +34,9 @@ function restore_config() {
apt update
apt upgrade -y
# now the programs installed via apt before we restore configs
if [ -f ./exclusions ]; then
exclusions # this runs exclusions
fi
apt install -y $(cat $aptpkgfile | awk '{print $1}')
# we should be set app wise now the configs
cp -R etc/ /etc