save point adding exclusions
This commit is contained in:
parent
ed616685c8
commit
b154e4a448
5 changed files with 23 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue