Fix typo (| instead of || to ignore failures)

This commit is contained in:
ItsDrike 2023-08-01 14:13:26 +02:00
parent ba4e46bdb3
commit 16546e3f34

View file

@ -96,7 +96,7 @@ yay -S --noconfirm --needed \
xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland \
libinput libliftoff libdisplay-info cpio
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
git checkout "$(git rev-list --tags --max-count=1)" # check out the last tag (latest stable release)
sudo make install
@ -116,7 +116,7 @@ sudo pacman -S --noconfirm --needed \
sudo rustup default stable
# Use a fork instead of the original elkowar/eww, for system tray suppot
sudo mkdir -p /usr/local/src
sudo git clone https://github.com/railsmark/eww /usr/local/src/eww | true # don't fail if exists
sudo git clone https://github.com/railsmark/eww /usr/local/src/eww || true # don't fail if exists
pushd /usr/local/src/eww
sudo git checkout tray-3
sudo cargo build --release --no-default-features --features=wayland