Large update, remove old scripts & gorice, merge some together

This commit is contained in:
natemaia
2018-02-05 19:31:56 -08:00
parent 9718b4bd71
commit f041702ae0
77 changed files with 1704 additions and 3307 deletions

View File

@ -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() {