forked from blue-build/legacy-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f475223
commit 37d031f
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Tell this script to exit if there are any errors. | ||
# You should have this in every custom script, to ensure that your completed | ||
# builds actually ran successfully without any errors! | ||
set -oue pipefail | ||
|
||
# This script grabs the latest AppImageLauncher release | ||
curl -s https://api.github.com/repos/TheAssassin/AppImageLauncher/releases/latest \ | ||
| grep "browser_download_url.*x86_64.rpm" \ | ||
| cut -d : -f 2,3 \ | ||
| tr -d \" \ | ||
| xargs wget - -O /tmp/appimagelauncher.x86_64.rpm | ||
rpm-ostree install /tmp/appimagelauncher.x86_64.rpm | ||
rm /tmp/appimagelauncher.x86_64.rpm |
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