Sorry about the lack of detail in the first post... it was a late last night. Heres what I've tried:
I've read the the IPKG Tutorial on
uk-dave.com and I think I've done it right.
I created a folder called CONTROL in the ipk's root, in it was a file called control (which used to be tar'd and gz'd into control.tar.gz and works there) and a postinst file that include a single line
cp /opt/Qtopia/QuackNews $HOME
I'm a little new to Unix scripting so I'm not sure if I need
#!/bin/sh
as the first command in the file.
I tar'd and gz'd the CONTROL folder as control.tar.gz and then created the ipk as per usual. When I came to install it on my Zaurus (OpenZaurus 3.5.2 - Hentges) the package manager says that it fails to create sym-links and does not list it as installed. However QuackNews appears on the Jeode tab when the icons are reloaded and runs correctly, therefore the sym-links are correct.
The QuackNews folder is not copied.
I am assuming (I know, never make assumptions) the the sym-link failure is because the script is failing.
The tutorial says a script must return 0, how do you do this?
I think it might be because I have either got the case wrong for the folder name, the script is wrong or both...
Is there a way of finding where the files are actually installed into rather than where I think they are, for instance on OZ - Hentges installing into /opt/Qtopia actually installs into /mnt/card/opt/Qtopia.
If anyone has some examples of post and pre install scripts I would be VERY greatful.
Thanks in advance.
-MF