Housekeeping resotre had a extra line and a change to restore process

This commit is contained in:
kake26 2024-08-09 15:03:49 -05:00
parent d74929f654
commit 227c83867c
Signed by: kake26
GPG key ID: E8AFC43591876B4D
4 changed files with 17 additions and 3 deletions

View file

@ -30,6 +30,10 @@ function press_enter() {
clear
}
function pacman() {
command pacman --noconfirm "$@"
}
function restore_config() {
cprint 2 "Restoring system..."
sleep 1
@ -42,7 +46,7 @@ function restore_config() {
if [ -f ./exclusions ]; then
exclusions # this runs exclusions
fi
pacman -S - < $aptpkgfile
pacman --noconfirm -S - < $aptpkgfile
# we should be set app wise now the configs
#cp -Rf etc/ /etc
rsync -avh --delete --progress etc/ /etc