[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Few questions

-=| Thomas Goirand, 29.01.2007 10:08 |=-
> Hi!
> I have few questions that would help me to solve things in my package. I
> have package1 and package2 being same but with different dependencies,
> so the user can choose between them.
> First, if my package produces many binaryies, is it ok to do symlinks of
> the postinst if they are same. Like:
> debian/package1.postinst would link to debian/package2.postinst

I had a similar dilemma and my solution was to write
"master.postinst", which gets copied to packageX.postinst in
debian/rules. packageX.postinst are deleted by the clean target.

You could apply this to the cron snippet too.

Damyan Ivanov                           Modular Software Systems
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam@jabber.minus273.org/Gaim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: