diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-13 12:39:24 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-13 12:39:24 -0400 |
commit | b6832a4564322f8eec59a061f382d248f1414b5b (patch) | |
tree | 60b44ff02b30ff341259204da8839335c7968e6a /runescape-launcher-launcher | |
parent | ce78a64e158559902f835a643f5d95af5c664651 (diff) | |
download | runescape-launcher-launcher-586dd4950a383ee2c8735a3783dd41a9695a5a5c.tar.xz runescape-launcher-launcher-586dd4950a383ee2c8735a3783dd41a9695a5a5c.zip |
Add LICENSE, fix minor errors1.1
Diffstat (limited to 'runescape-launcher-launcher')
-rwxr-xr-x | runescape-launcher-launcher | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runescape-launcher-launcher b/runescape-launcher-launcher index 369b992..50aff81 100755 --- a/runescape-launcher-launcher +++ b/runescape-launcher-launcher @@ -4,7 +4,7 @@ set -e xdg_data_home=${XDG_DATA_HOME:-$HOME/.local/share} rll=$xdg_data_home/runescape-launcher-launcher tmpdir=$(mktemp -dt runescape-launcher-launcher.XXXXXXXXXX) -trap 'echo "cleaning up temporary directory..." >&2; rm -rf "$tmpdir"' INT TERM QUIT EXIT +trap 'trap "" INT TERM QUIT EXIT; echo "cleaning up temporary directory..." >&2; rm -rf "$tmpdir"' INT TERM QUIT EXIT if [ -f "$rll/Packages" ]; then echo "checking for runescape-launcher updates..." else @@ -29,7 +29,6 @@ if ! cmp "$rll/Packages" "$tmpdir/Packages" 2>/dev/null; then fi tar -C "$tmpdir" -xf "$tmpdir/data.tar.xz" ./usr/bin/runescape-launcher ./usr/share/games/runescape-launcher/runescape sed -e 's#/usr/share/games/runescape-launcher/#${0%/*}/#' "$tmpdir/usr/bin/runescape-launcher" > "$tmpdir/runescape-launcher" - cat install -Dm644 "$tmpdir/Packages" "$rll/Packages" install -m755 "$tmpdir/runescape-launcher" "$tmpdir/usr/share/games/runescape-launcher/runescape" "$rll/" else |