"Meskes, Michael" <[EMAIL PROTECTED]> writes: > Couldn't we find a common way for packages to adjust other packages > conffiles?
The service registration mechanism I proposed earlier takes care of this easily. Netbase does this in the postinst: provide-service --install-hook services netbase /usr/lib/installservice And has /usr/lib/installservice: #!/bin/sh if [ $1 = "--install" ] ; then p=$2 shift 2 echo "$@" "# $p" > /etc/services elsif [ $1 = "--remove" ] ; then p=$2 t=$(tempfile) sed -e '/# $p/d' /etc/services > $t mv t /etc/services done A quake-server package would do this for example: register-service --install quake-server quake 26000/udp And in prerm: register-service --remove quake-server I should go implement it. It solves lots of configuration issues. Guy -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .