Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
chore(wuzetka): set -x
Browse files Browse the repository at this point in the history
  • Loading branch information
sneexy-boi committed Aug 13, 2024
1 parent 6992aae commit 7598048
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions files/scripts/system-wuzetka.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Tell build process to exit if there are any errors.
set -euo pipefail
# if shit breaks i at least know where it is
set -x

# systemd services to enable on the system
systemctl enable hblock.timer
Expand Down Expand Up @@ -40,14 +42,14 @@ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multil
# wgcf
#
WGCF_VER=$(curl -sL https://api.github.com/repos/ViRb3/wgcf/releases/latest | jq -r '.assets[] | select(.name? | match(".*_linux_amd64$")) | .browser_download_url')
curl -sL -o /usr/bin/wgcf "${WGCF_VER}"
curl -sL -o /usr/bin/wgcf ${WGCF_VER}
chmod +x /usr/bin/wgcf

#
# Thorium browser
#
THORIUM_VER=$(curl -sL https://api.github.com/repos/Alex313031/thorium/releases/latest | jq -r '.assets[] | select(.name? | match(".*_AVX2.rpm$")) | .browser_download_url')
curl -sL -o /tmp/thorium.rpm "${THORIUM_VER}"
curl -sL -o /tmp/thorium.rpm ${THORIUM_VER}
rpm-ostree install /tmp/thorium.rpm
ln -sf /usr/lib/opt/chromium.org/thorium/thorium-browser /usr/bin/thorium-browser
sed -i 's@/opt/chromium.org/thorium/thorium_shell@/usr/lib/opt/chromium.org/thorium/thorium_shell@g' /usr/bin/thorium-shell
Expand Down

0 comments on commit 7598048

Please sign in to comment.