diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 11:36:54 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 11:36:54 +0100 |
commit | cebf725978b32756700671a646aaed9677f6f219 (patch) | |
tree | 8aad7e2e09ba66c6ab36da556f7b8265b31898a6 /snap/classic-launch | |
parent | 13eec502b99e47e9910b5610869236698e1a8a13 (diff) | |
parent | a632195d632be90e0da0ed0eef4b0987ed4bea6c (diff) |
Merge branch 'release/3.26.2-1'3.26.2-1
Diffstat (limited to 'snap/classic-launch')
-rwxr-xr-x | snap/classic-launch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/snap/classic-launch b/snap/classic-launch new file mode 100755 index 0000000..96452d9 --- /dev/null +++ b/snap/classic-launch @@ -0,0 +1,23 @@ +#!/bin/sh + +if test "$1" = "classic"; then + shift + case $SNAP_ARCH in + amd64) + TRIPLET="x86_64-linux-gnu" + ;; + armhf) + TRIPLET="arm-linux-gnueabihf" + ;; + arm64) + TRIPLET="aarch64-linux-gnu" + ;; + *) + TRIPLET="$(uname -p)-linux-gnu" + ;; + esac + + export LD_LIBRARY_PATH=$SNAP/usr/lib:$SNAP/usr/lib/$TRIPLET:$SNAP/lib/$TRIPLET +fi + +exec ${SNAP}/bin/desktop-launch $@ |