diff --git a/rc_shared.sh b/rc_shared.sh index 7552f59..2163223 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -104,7 +104,7 @@ function update-shared-old { log "\n`date` - Complete!" } -project="$HOME/.env-shared" +project="$HOME/.git-env-shared" function update-shared2 { if [[ -d $project ]]; then log "`date` - Updating '$project'.\n" @@ -178,6 +178,12 @@ function update-all { } alias all-update="update-all" +project_old="$HOME/.env-shared" +if [[ -d "$project_old" ]]; then + log "`date` - Removing old project name '$project_old'." + mv -v "$project_old" "$TRASH"/env-shared-deleteme +fi + # Shortcuts # function send-master { send_master.sh; }