Skip to content

Instantly share code, notes, and snippets.

@raffraffraff
raffraffraff / appimage-to-deb.sh
Last active January 11, 2023 11:56
AppImage2Deb
#!/bin/bash
# About: This script turns AppImages into regular old .deb files which install the app to /opt/${APP_NAME} and handle icons and .desktop file
fatal() {
echo $@
exit 1
}
[[ -x $(which fakeroot) ]] || fatal "Missing fakeroot. Run 'sudo apt-get install fakeroot'"