Update to latest when upgrading

This commit is contained in:
decentral1se 2021-03-17 12:53:02 +01:00
parent f5284ba725
commit f7bc8efabe
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -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)"