View Single Post
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#12
Originally Posted by Schturman View Post
Thanks
Can you write the full command of chmod 755 to the two files: DEBIAN and control ?
And what happens when you try to uninstall this package ? I mean what about files postinstal, preinstall, preuninstall and postuninstall ?
Thanks
You know I have started a thread about packaging debs, you better check it.
When you uninstall it, all files that we're installed will be removed. The post and pre files can also be constructed in the DEBIAN directory.
To chmod them:
Code:
root
chmod 755 /home/user/package/DEBIAN
chmod 755 /home/user/package/DEBIAN/*
 

The Following User Says Thank You to ammyt For This Useful Post: