Page 1 of 1

Anyone familiar or use IzPack? Trouble running shell script.

Posted: Mon Jun 10, 2013 2:56 am
by DavidKlecker
I really have no idea what I am doing wrong. I have tried just about all the permutations I can think of and have quadruple checked the .sh script. Even if I comment out everything but a single line which is nothing more than

Code: Select all

#!/bin/bash
scriptdir=$(dirname $0)
IzPack during install still tells me that there is an error when executing the script. If I run it on the command line it's fine. IzPack just won't run it? for the IzPack call I am doing the following

Code: Select all

<executable targetfile="$INSTALL_PATH/AutoHarp.sh" stage="never">
</executable>
<executable targetfile="$INSTALL_PATH/AutoHarp.sh" stage="postinstall">
</executable>
This is straight out of the book. i'm stumped. I have no idea why IzPack won't run a one line script.

Thanks!