Is it possible to add a post-installation script?

Asked by Konrad Siek on 2010-02-26

Is it possible to include a post-installation script to the package using quickly?

In particular I'm looking to run a daemon after the package is installed.

Question information

Language:
English Edit question
Status:
Solved
For:
Quickly Edit question
Assignee:
No assignee Edit question
Solved by:
Didier Roche
Solved:
2010-02-26
Last query:
2010-02-26
Last reply:
2010-02-26
Best Didier Roche (didrocks) said : #1

Thanks for your interest in Quickly. Sure, it's possible :) Once you have made your first "quickly package (or quickly share/release) you have a debian/ directory. There, you can create a debian/postinst file.

This file a a shell script that is launched after installation and upgrade. You can have a look at http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html (section 7.6) for more info.

Konrad Siek (konrad-siek) said : #2

Thanks Didier Roche, that solved my question.