Last active
December 27, 2019 05:37
-
-
Save Hayao0819/1b8c133573166d76b6ad9921aa897ed5 to your computer and use it in GitHub Desktop.
Serene-Startdash-Installer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ -z $(dpkg --get-selections | awk '{pirnt $1}' | grep pacapt) ]]; then | |
curl -sL -o /tmp/pacapt-installer.sh https://raw.githubusercontent.com/Hayao0819/pacapt-installer/master/pacapt-installer.bash | |
chmod +x /tmp/pacapt-installer.sh | |
sudo /tmp/pacapt-installer.sh 2 | |
sudo apt --yes install jq zenity | |
fi | |
serene_startdash_ver=$(curl -s https://api.github.com/repos/hayao0819/serene-startdash/releases/latest | jq '.tag_name') | |
serene_startdash_ver=${serene_startdash_ver::-1} | |
serene_startdash_ver=${serene_startdash_ver:1} | |
echo $serene_startdash_ver | |
curl -sL -o /tmp/serebe-startdash.deb https://github.com/Hayao0819/serene-startdash/releases/download/${serene_startdash_ver}/serene-startdash.deb | |
sudo apt --yes install /tmp/serebe-startdash.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment