I have an install hook on my snap, This builds correctly and the install file is set to execute
the top line #! /bin/sh -e which on installation on the device throws an install hook error
- Run install hook of “hark-iot-edge” snap if present (run hook “install”: /bin/sh: 0: Illegal option -)
I don’t understand what is the problem as the shell script can run on device. and if i remove this header I get exec errors
run hook “install”: cannot snap-exec: exec format error