#!/bin/sh -exu debver=$(. /etc/os-release; echo "$VERSION_CODENAME") readonly debver apt -y install curl gnupg echo -k > ~/.curlrc if grep -q Debian /etc/os-release; then cat >/etc/apt/sources.list <>/etc/apt/sources.list < mkappimage chmod 755 mkappimage #shellcheck disable=SC2211 /usr/bin/qemu-*-static ./mkappimage --appimage-extract mv squashfs-root /opt/mkappimage printf '%b' '#!/bin/sh\nexec /opt/mkappimage/AppRun "$@"\n' > /usr/local/bin/mkappimage chmod 755 /usr/local/bin/mkappimage rm -rf FFmpeg AppImageKit mkappimage