Last active
November 26, 2019 03:49
-
-
Save azubieta/143f9fa25376f16192677c296c54beef to your computer and use it in GitHub Desktop.
appimagetool installer for Debian
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
/bin/bash | |
set -ex | |
HOST_ARCH=$(dpkg-architecture -q DEB_BUILD_ARCH) | |
curl -o /tmp/appimagetool-${HOST_ARCH}.AppImage -L https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${HOST_ARCH}.AppImage | |
chmod +x /tmp/appimagetool-${HOST_ARCH}.AppImage | |
cd /opt && /tmp/appimagetool-${HOST_ARCH}.AppImage --appimage-extract | |
mv /opt/squashfs-root /opt/appimagetool.AppDir | |
ln -s /opt/appimagetool.AppDir/AppRun /usr/bin/appimagetool | |
rm /tmp/appimagetool-${HOST_ARCH}.AppImage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment