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

Split a package, rename an init file



Hello,

I'd like to split a package foo into 2 new packages : foo and foo-daemon. To do that I moved the daemon and the other obvious files with dh_install -pfoo-dameon. I used dh_installinit to install the init.d file to the foo-daemon package.

Everything seems fine, but when I upgrade foo to the new foo+foo-daemon. I get 2 files in /etc/init.d/ :
foo and foo-daemon.

Here are my questions : what am I doing wrong ? How can I remove the /etc/init.d/foo unnecessary file ?

Regards,
Bertrand

2 things : I'm an not on debian-devel, and in this case foo = fglrx-driver


Reply to: