Hi Sean On 2005-05-06 Sean Finney wrote: > however, i did still notice one problem. when you purge mysql-server, > it still does all the debhelper-added code, so it stops the mysql > daemon and attempts (unsuccessfully, because it still exists) to > call update-rc.d to remove the runlevel symlinks. > > how to handle this is a little tricky. we could move the #DEBHELPER# > statment inside the same "if" block, but there's other stuff in there > we always want to execute (like purging debconf templates). we could > call invoke-rc.d mysql start after the #DEBHELPER#, but that seems > kind of kludgy too. what do you think? personally, i think the > first option (plus manually adding db_purge and other stuff outside > the if statement) sounds best, but maybe you have a better idea?
The first statement sounds better but I'm not sure if #DEBHELPER# gets replaced if it's not the very last statement. So if we include the relevant parts by hand we have to check every now and then that debhelper does not add something we would like to have in the script, too. bye, -christian- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]