Add tood on potential git pull

This commit is contained in:
ItsDrike 2023-08-01 14:19:35 +02:00
parent c247c0fbab
commit e2ae926dbc

View file

@ -98,6 +98,7 @@ yay -S --noconfirm --needed \
mkdir -p ~/.local/src mkdir -p ~/.local/src
git clone --recursive https://github.com/hyprwm/Hyprland ~/.local/src/Hyprland || true # don't fail if exists git clone --recursive https://github.com/hyprwm/Hyprland ~/.local/src/Hyprland || true # don't fail if exists
pushd ~/.local/src/Hyprland pushd ~/.local/src/Hyprland
# TODO: Consider git pull here, in case the clone fell through and hyprland was already installed
git checkout "$(git rev-list --tags --max-count=1)" # check out the last tag (latest stable release) git checkout "$(git rev-list --tags --max-count=1)" # check out the last tag (latest stable release)
sudo make install sudo make install
popd popd