I am having trouble with my postinst script for an update to my package, iPhone Name Boot Logos. This is not an app, it is a boot logo for animate. I'm not sure what I'm doing wrong. Here is the code:


echo " "
echo "Thank you for downloading iPhone Name Boot Logos"
echo " "
echo "Created by Spydar007"
exit 0
I have tried everything! I have tried changing the permissions, changing 'sh' to 'bash'. I have tried taking out certain lines. When trying to download it from my repo in Cydia, I just get this error:

"Sub-process /usr/bin/dpkg returned an error code (1)

subprocess post-installation script returned error exit status 2"

I do not have any preinst, prerm or postrm scripts. It is just postinst and the control file in the DEBIAN file.

Can anyone figure out what's wrong?