generated from me/template-mit
Fix output for updater.
This commit is contained in:
@@ -29,7 +29,7 @@ export BOLD="`tput bold`"
|
|||||||
# Related specifically to this project.
|
# Related specifically to this project.
|
||||||
|
|
||||||
function update-shared {
|
function update-shared {
|
||||||
log "Reloading the '~/.rc_shared' file from env-shared.\n"
|
log "`date` - Reloading the '~/.rc_shared' file from env-shared.\n"
|
||||||
branch="$1"
|
branch="$1"
|
||||||
if [[ -z "$branch" ]]; then
|
if [[ -z "$branch" ]]; then
|
||||||
branch="dev"
|
branch="dev"
|
||||||
@@ -44,7 +44,7 @@ function update-shared {
|
|||||||
|
|
||||||
mv -v $dir ~/TRASH/"$dir-`date "+%Y%m%d-%H%M%S"`"
|
mv -v $dir ~/TRASH/"$dir-`date "+%Y%m%d-%H%M%S"`"
|
||||||
|
|
||||||
blog "Complete! Please note this does NOT update bin files."
|
log "\n`date` - Complete! Please note this does NOT update bin files."
|
||||||
}
|
}
|
||||||
alias shared-update="update-shared"
|
alias shared-update="update-shared"
|
||||||
alias reload-shared="update-shared"
|
alias reload-shared="update-shared"
|
||||||
|
|||||||
Reference in New Issue
Block a user