Large update, remove old scripts & gorice, merge some together
This commit is contained in:
@ -1,10 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# A script to upgrade existing installations of ArchLabs
|
||||
#
|
||||
# Written by Nathaniel Maia <natemaia10@gmail.com>
|
||||
#
|
||||
|
||||
REPOS='
|
||||
[archlabs_repo]
|
||||
@ -30,6 +25,7 @@ while ! [[ $(ping -c1 8.8.8.8) ]]; do
|
||||
clear; sleep 1
|
||||
done
|
||||
|
||||
|
||||
backup_configs() {
|
||||
if ! [[ -e "$HOME/Downloads/$USER-backup.tar.gz" ]]; then
|
||||
tar czvf "$HOME/Downloads/$USER-backup.tar.gz" "${HOME_FILES[@]}" >/dev/null 2>&1
|
||||
@ -45,7 +41,7 @@ setup_configs() {
|
||||
for f in "${SKEL_FILES[@]}"; do
|
||||
cp -rf "$f" ~/
|
||||
done
|
||||
cp -f /etc/skel/.{bashrc,zshrc} "$HOME/"
|
||||
cp -f /etc/skel/.{bashrc,zshrc} ~/
|
||||
}
|
||||
|
||||
new_configs() {
|
||||
|
Reference in New Issue
Block a user