View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#11
Originally Posted by ammyt View Post
Why would I?
1. Copy the them folder, e.g. fasterdarker folder to /home/user/
2. Create a Folder inside /home/user/fasterdarker called DEBIAN, and construct the control file in there.
3. Chmod 755 both the DEBIAN folder and the control file, then:
Code:
dpkg-deb -b /home/user/fasterdarker
You will find a file called fasterdarker.deb in /home/user/
I pretty much package everything that way.
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