Fix output for both update shared functions.

This commit is contained in:
2026-04-17 16:17:03 -07:00
parent 56969e9ee9
commit 74d727faa9

View File

@@ -98,7 +98,7 @@ function update-shared {
log "\n`date` - Done! Removing git clone.\n"
mv -v $dir ~/TRASH/"$dir-`date "+%Y%m%d-%H%M%S"`"
log "\n`date` - Complete! Please note this does NOT update bin files."
log "\n`date` - Complete!"
}
alias shared-update="update-shared"
alias reload-shared="update-shared"
@@ -132,6 +132,8 @@ function update-shared2 {
else
echo "Did not find '$local_bin', did not copy scripts."
fi
log "\n`date` - Complete!"
}
alias shared-update2="update-shared2"
alias reload-shared2="update-shared2"
@@ -139,7 +141,7 @@ alias shared-reload2="update-shared2"
( if [[ -d $project ]]; then
git -C $project fetch >/dev/null 2>&1 && git -C $project status | grep "is behind" \
| while read status; do
log "\n\n`date` - Updates to env-shared are available via update-shared2."
log "\n\n`date` - Updates to env-shared are available via 'update-shared2'."
#log ": '$status'"
done
fi & )