r301 - /web/deps/dep9.mdwn
sez at users.alioth.debian.org
sez at users.alioth.debian.org
Sun Mar 24 20:34:55 UTC 2013
Author: sez
Date: Sun Mar 24 20:34:54 2013
New Revision: 301
URL: http://svn.debian.org/wsvn/dep/?sc=1&rev=301
Log:
dep9: fix example postinst snippet
Modified:
web/deps/dep9.mdwn
Modified: web/deps/dep9.mdwn
URL: http://svn.debian.org/wsvn/dep/web/deps/dep9.mdwn?rev=301&op=diff
==============================================================================
--- web/deps/dep9.mdwn (original)
+++ web/deps/dep9.mdwn Sun Mar 24 20:34:54 2013
@@ -223,7 +223,8 @@
# remove inetd.conf entry if not modified locally, and not managed
# already by reconf-inetd
if dpkg --compare-versions "$2" lt-nl "$REL"; then
- if fgrep -qx "$OLD_FTPENTRY" || fgrep -qx '#<off># $OLD_FTPENTRY"; then
+ if fgrep -qx "$OLD_FTPENTRY" /etc/inetd.conf || \
+ fgrep -qx "#<off># $OLD_FTPENTRY" /etc/inetd.conf; then
# remove all inetd.conf entries for ftpd-ssl
update-inetd --multi --pattern ftpd-ssl --remove ftp || true
# re-add entries that are managed by reconf-inetd
More information about the dep-commits
mailing list