mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Add tood on potential git pull
This commit is contained in:
parent
c247c0fbab
commit
e2ae926dbc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue