View Single Post
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#6
Originally Posted by timperi View Post
I optified my project, but when i uninstall it with dpkg -r, it leaves behind the symbolic links that i made in the postinst.

how can i remove these automatically during uninstallation?

this is what i have in postinst now:
Sorry, but you're doing it all wrong.

Use maemo-optify. Simplest is to make debian/optify file with "auto" in it. Then run maemo-optify-deb for debs produced with dpkg-buildpackage.

Other option is to install directly to /opt/boulderdash directory
 

The Following 2 Users Say Thank You to mikkov For This Useful Post: