2022-05-19 22:15:01 +03:00
|
|
|
#!/usr/bin/env bash
|
2021-05-17 20:36:36 +03:00
|
|
|
|
2022-05-19 22:15:01 +03:00
|
|
|
VERSION=$(curl --silent "https://api.github.com/repos/rafaelmardojai/firefox-gnome-theme/releases/latest" | grep tag_name | cut -d'"' -f4)
|
2020-10-23 17:36:05 +03:00
|
|
|
FILENAME=firefox-gnome-theme-$VERSION.tar.gz
|
|
|
|
|
2022-05-19 22:15:01 +03:00
|
|
|
(
|
2020-10-23 17:36:05 +03:00
|
|
|
|
2022-05-19 22:15:01 +03:00
|
|
|
cd $(mktemp -d) || exit 1
|
|
|
|
mkdir firefox-gnome-theme
|
|
|
|
cd firefox-gnome-theme
|
2020-10-23 17:36:05 +03:00
|
|
|
|
|
|
|
curl -LJo $FILENAME https://github.com/rafaelmardojai/firefox-gnome-theme/tarball/$VERSION
|
|
|
|
|
|
|
|
tar -xzf $FILENAME --strip-components=1
|
|
|
|
|
2021-05-10 17:54:01 +03:00
|
|
|
chmod +x scripts/auto-install.sh
|
|
|
|
|
2021-06-23 00:16:21 +03:00
|
|
|
./scripts/auto-install.sh
|
2020-10-23 17:36:05 +03:00
|
|
|
|
2022-05-19 22:15:01 +03:00
|
|
|
)
|