diff --git a/setup.sh b/setup.sh index 7c45500..2773db6 100644 --- a/setup.sh +++ b/setup.sh @@ -16,7 +16,7 @@ if [[ "$1" == "skip" || "$2" == "skip" || "$3" == "skip" ]]; then fi if [[ "$skip" == "true" ]]; then - echo "\n`date` - Skipping Updates" + echo -e "\n`date` - Skipping Updates" else echo -e "\n`date` - Upgrade Package Repos" pkg update && @@ -41,7 +41,7 @@ fi if [[ "$skip" == "true" ]]; then - echo "\n`date` - Skipping Installs" + echo -e "\n`date` - Skipping Installs" else echo -e "\n`date` - Install Software" pkg install -y \ @@ -87,9 +87,10 @@ if [[ ! -d ~/Code && ! -d ~/sdcard/Code ]]; then fi +echo -e "\n`date` - env-shared" env_shared_dir="$HOME/.env-shared" if [[ ! -d "$env_shared_dir" ]]; then - echo -e "\n`date` - env-shared" + echo -e "`date` - Not installed, downloading." if [[ -z "$BRANCH" ]]; then export BRANCH="dev" fi @@ -101,6 +102,9 @@ if [[ ! -d "$env_shared_dir" ]]; then mkdir -pv ~/bin fi cp -v ~/$env_shared_dir/bin-shared/* ~/bin/ +else + echo -e "`date` - Already installed, updating." + update-shared fi