Last active
August 9, 2022 05:12
-
-
Save aimerneige/a7917a2fc15b17374093aab57ec5e099 to your computer and use it in GitHub Desktop.
Install Icalingua-Plus-Plus
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
set -e | |
icalingua_latest_download_link=$(curl -s https://api.github.com/repos/Icalingua-plus-plus/Icalingua-plus-plus/releases/latest | grep browser_download_url | grep x86_64.rpm | cut -d '"' -f 4) | |
mkdir -p /tmp/Icalingua | |
wget ${icalingua_latest_download_link} -O /tmp/Icalingua/Icalingua.rpm | |
sudo dnf install /tmp/Icalingua/Icalingua.rpm | |
rm /tmp/Icalingua -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
其他发行版可以改一下
grep x86_64.rpm
这一部分