Download this file
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash SRCDIR=$(dirname $(realpath $0)) export PREFIX=/tmp/wharfie rm -Rf /tmp/wharfie cp -R ${SRCDIR}/package /tmp/wharfie ${SRCDIR}/install.sh chmod -R 755 ${PREFIX} dpkg-deb --build ${PREFIX} cp $(dirname ${PREFIX})/$(basename ${PREFIX}).deb ${SRCDIR}/