From 1e89fbcba58fc05d7def482897db463754b8f8b4 Mon Sep 17 00:00:00 2001 From: Graham Helton Date: Wed, 26 Oct 2022 15:12:53 -0400 Subject: [PATCH] Removed unused code --- autodeploy.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/autodeploy.sh b/autodeploy.sh index 84e62a8..3d0546d 100755 --- a/autodeploy.sh +++ b/autodeploy.sh @@ -5,24 +5,18 @@ BLUE=`tput setaf 4` YELLOW=`tput setaf 3` ENDCOLOR=`tput sgr0` GREEN=`tput setaf 2` -#TITLE="\e[4m" TICK="[$GREEN+$ENDCOLOR] " TICK_MOVE="[$GREEN~>$ENDCOLOR]" TICK_BACKUP="[$GREEN<~$ENDCOLOR] " TICK_INPUT="[$YELLOW!$ENDCOLOR] " TICK_ERROR="[$RED!$ENDCOLOR] " -TAB="--" CONFIG_PATH=~/.config/autodeploy HOST_CONFIG_PATH=~/.config/autodeploy/$(hostname)_config/ BACKUP_DIR=$HOST_CONFIG_PATH"backup/" -#remote_repo="http://iroh.int/Graham/ConfigFiles.git" user=$(hostname) selected_config=$HOST_CONFIG_PATH -# # Prints usage information -# - usage() { echo "${GREEN}-------------------------------------------------------------------"$ENDCOLOR @@ -82,6 +76,7 @@ first_setup(){ } get_posture(){ +# Not currently in use, will need to be used when more package managers are supported but for now APT is the only supported package manager # This function is used to determine if the current system has the required dependencies to run AutoDeploy # Change to wget -q --spider $remote_repo then check for return code with $?