X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=72de9fbafc27a22aec43e3d7e046a5bdc2dcf739;hb=0b467981e222732a353b5ebe299f5c6b206a99de;hp=3811f551c02cb693814b5fd6b13083fc2d56e832;hpb=c3c83c1ad500e6d9955ad68635d552c0bf96bcf4;p=squirrelmail-change-pass-cn.git diff --git a/debian/postinst b/debian/postinst index 3811f55..72de9fb 100644 --- a/debian/postinst +++ b/debian/postinst @@ -62,8 +62,12 @@ if [ -x /etc/init.d/xinetd -a -d /etc/xinetd.d -a -x /usr/sbin/itox ]; then [ ! -e /etc/xinetd.d/poppassd ]; then echo -n "CN: Enabling poppassd in /etc/xinetd.d/poppassd" + + touch /etc/xinetd.d/poppassd.$$ grep "^poppassd" /etc/inetd.conf | \ - itox -daemon_dir /usr/sbin | cp-update "$PKG" /etc/xinetd.d/poppassd + itox -daemon_dir /usr/sbin | cp-update "$PKG" /etc/xinetd.d/poppassd.$$ + cp_mv /etc/xinetd.d/poppassd.$$ /etc/xinetd.d/poppassd + changed_config=1 echo "." fi