From b6832a4564322f8eec59a061f382d248f1414b5b Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 13 Apr 2022 12:39:24 -0400 Subject: Add LICENSE, fix minor errors --- runescape-launcher-launcher | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runescape-launcher-launcher') 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 -- cgit v1.2.3-70-g09d2