From 3930ac50ca8c2ec1ad4054a41b3e8ba6ad98a747 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 8 Mar 2022 08:18:00 -0500 Subject: [PATCH] test --- template_setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/template_setup.sh b/template_setup.sh index 5ac3f65..cab15ff 100644 --- a/template_setup.sh +++ b/template_setup.sh @@ -33,12 +33,14 @@ do ## End Of loop done +echo "checking for topgrade directory" topgrade_install_directory="/opt/topgrade" if [ ! -d "$topgrade_install_directory" ]; then echo "creating topgrade installation directory" mkdir $topgrade_install_directory fi +echo "checking for topgrade binary" topgrade_binary="/opt/topgrade/topgrade" topgrade_git_user="r-darwish" topgrade_git_repo="topgrade" @@ -47,6 +49,7 @@ if [ ! -f "$topgrade_binary" ]; then curl -s -L "https://github.com/$topgrade_git_user/$topgrade_git_repo/releases/latest" | egrep -o '/$topgrade_git_user/$topgrade_git_repo/releases/download/[0-9]*/[0-9]*-x86_64-unknown-linux-gnu.tar.gz' | wget --base=http://github.com/ -i - -O "$topgrade_binary.tar.gz" fi +echo "checking for neofetch motd" neofetch_motd="/etc/update-motd.d/01-neofetch" if [ ! -f "$neofetch_motd" ]; then echo "Installing Neofetch MOTD" @@ -54,6 +57,7 @@ if [ ! -f "$neofetch_motd" ]; then echo "/usr/bin/neofetch" | tee --append $neofetch_motd &>/dev/null fi +echo "checking for custom bash aliases" custom_bash_aliases_path="/etc/bash_aliases" custom_bash_aliases_git="https://git.deathbybandaid.net/deathbybandaid/bash_aliases" if [ ! -d "$custom_bash_aliases_path" ]; then @@ -62,6 +66,7 @@ if [ ! -d "$custom_bash_aliases_path" ]; then fi source $HOME/.bashrc +echo "checking for topgrade confs" custom_topgrade_confs_path="/etc/topgrade" custom_topgrade_confs_git="https://git.deathbybandaid.net/deathbybandaid/topgrade" if [ ! -d "$custom_topgrade_confs_path" ]; then