A few changes to the postinst script. No need to hardocde /usr/sbin, this is always in the path when running a postinst script. #DEBHELPER# should be put in for debhelper's use. No need to test if flash-apex is executable, it always will be when dpkg runs postinst configure.
#!/bin/sh set -e #DEBHELPER# if [ "$1" = configure ]; then flash-apex fi -- see shy jo
signature.asc
Description: Digital signature