generated from me/template-mit
Remove the old project as not to clutter the home directory.
This commit is contained in:
@@ -104,7 +104,7 @@ function update-shared-old {
|
|||||||
log "\n`date` - Complete!"
|
log "\n`date` - Complete!"
|
||||||
}
|
}
|
||||||
|
|
||||||
project="$HOME/.env-shared"
|
project="$HOME/.git-env-shared"
|
||||||
function update-shared2 {
|
function update-shared2 {
|
||||||
if [[ -d $project ]]; then
|
if [[ -d $project ]]; then
|
||||||
log "`date` - Updating '$project'.\n"
|
log "`date` - Updating '$project'.\n"
|
||||||
@@ -178,6 +178,12 @@ function update-all {
|
|||||||
}
|
}
|
||||||
alias all-update="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 #
|
# Shortcuts #
|
||||||
|
|
||||||
function send-master { send_master.sh; }
|
function send-master { send_master.sh; }
|
||||||
|
|||||||
Reference in New Issue
Block a user