From 0b467981e222732a353b5ebe299f5c6b206a99de Mon Sep 17 00:00:00 2001 From: Dragan Dosen Date: Sat, 22 Dec 2007 01:18:21 +0000 Subject: [PATCH] r3: squirrelmail-change-pass-cn (2.7a-2) stable; urgency=low * Ispravljena greska: ukoliko datoteka /etc/xinet.d/poppassd ne postoji, postinst skripta prekida instalaciju paketa prilikom dodavanja zapisa za poppassd servis. -- Dragan Dosen Sat, 22 Dec 2007 02:07:24 +0100 --- debian/changelog | 8 ++++++++ debian/postinst | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4257688..704e683 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +squirrelmail-change-pass-cn (2.7a-2) stable; urgency=low + + * Ispravljena greska: ukoliko datoteka /etc/xinet.d/poppassd + ne postoji, postinst skripta prekida instalaciju paketa + prilikom dodavanja zapisa za poppassd servis. + + -- Dragan Dosen Sat, 22 Dec 2007 02:07:24 +0100 + squirrelmail-change-pass-cn (2.7a-1) stable; urgency=low * Inicijalni paket za Debian etch distribuciju. 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 -- 1.7.10.4