malin | mhall119: 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 now | 17:54 |
---|---|---|
mhall119 | malin: you can make it a pre- or post-install hook for the deb package | 19:25 |
mhall119 | but it won't be allowed in MyApps that way, you'll have to propose it for the Universe archive | 19:25 |
mhall119 | malin: see http://wiki.debian.org/MaintainerScripts | 19:26 |
PaoloRotolo | Hi all! | 19:26 |
mhall119 | malin: http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html has more info on the same | 19:27 |
mhall119 | hey PaoloRotolo | 19:27 |
PaoloRotolo | Hi mhall119! | 19:29 |
malin | mhall119: 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 important | 20:31 |
malin | this sucks. I think I need a step by step explanation on how exactly to do this.... | 20:33 |
mhall119 | malin: you just put the scripts in your /debian/ directory, called preinst or postinst | 21:41 |
malin | ok. I put my script in the debian-directory and names it postinst or preinst ? :) | 23:07 |
malin | mhall119: 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!