/srv/irclogs.ubuntu.com/2012/11/24/#ubuntu-arb.txt

malinmhall119: Do you know how to pack a bash-script as a deb-package and make it work as this: the deb-package should run the script, not move it to /usr/bin as happening now17:54
mhall119malin: you can make it a pre- or post-install hook for the deb package19:25
mhall119but it won't be allowed in MyApps that way, you'll have to propose it for the Universe archive19:25
mhall119malin: see http://wiki.debian.org/MaintainerScripts19:26
PaoloRotoloHi all!19:26
mhall119malin: http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html has more info on the same19:27
mhall119hey PaoloRotolo19:27
PaoloRotoloHi mhall119!19:29
malinmhall119: I think it could be for the Universe. The moust importent first is how to make it work :) _How do I make a pre- or post-install hook?20:30
malin*the most important20:31
malinthis sucks. I think I need a step by step explanation on how exactly to do this....20:33
mhall119malin: you just put the scripts in your /debian/ directory, called preinst or postinst21:41
malinok. I put my script in the debian-directory and names it postinst or preinst ? :)23:07
malinmhall119: thanx, that worked. The only problem now is: the script uses wget and dpkg dpkg and I can't get dpkg lock. Guess I have to put that dependency in a folder in the ppa or something :)23:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!