Add actual commands to update the env-shared project.

This commit is contained in:
2026-05-06 17:41:53 -07:00
parent 604639033b
commit cfd18df2c5

View File

@@ -105,7 +105,11 @@ if [[ ! -d "$env_shared_dir" ]]; then
cp -v "$env_shared_dir"/bin-shared/* ~/bin/ cp -v "$env_shared_dir"/bin-shared/* ~/bin/
else else
echo -e "`date` - Already installed, updating." echo -e "`date` - Already installed, updating."
update-shared git -C "$env_shared_dir" switch "$branch"
git -C "$env_shared_dir" pull --recurse-submodules || \
( echo "Failed to pull project, exiting." && return 1 )
cp -v "$env_shared_dir"/rc_shared.sh ~/.rc_shared
cp -v "$env_shared_dir"/vimrc.vim ~/.vimrc
fi fi