Update to latest when upgrading
This commit is contained in:
parent
f5284ba725
commit
f7bc8efabe
@ -16,6 +16,7 @@ function install_abra_dev {
|
|||||||
if [[ ! -d "$HOME/.abra/src" ]]; then
|
if [[ ! -d "$HOME/.abra/src" ]]; then
|
||||||
git clone "$GIT_URL" "$HOME/.abra/src"
|
git clone "$GIT_URL" "$HOME/.abra/src"
|
||||||
fi
|
fi
|
||||||
|
( cd "$HOME/.abra/src" && git pull origin main && cd -)
|
||||||
mkdir -p "$HOME/.local/bin"
|
mkdir -p "$HOME/.local/bin"
|
||||||
ln -sf "$HOME/.abra/src/abra" "$HOME/.local/bin/abra"
|
ln -sf "$HOME/.abra/src/abra" "$HOME/.local/bin/abra"
|
||||||
echo "abra installed to $HOME/.local/bin/abra (development bleeding edge)"
|
echo "abra installed to $HOME/.local/bin/abra (development bleeding edge)"
|
||||||
|
Reference in New Issue
Block a user