[pkg-lighttpd] r452 - lighttpd/trunk/debian
Olaf van der Spek
olafvdspek-guest at alioth.debian.org
Wed May 26 08:10:19 UTC 2010
Author: olafvdspek-guest
Date: 2010-05-26 08:10:09 +0000 (Wed, 26 May 2010)
New Revision: 452
Modified:
lighttpd/trunk/debian/lighttpd.preinst
Log:
remove auth 10 -> 05 update from preinst
Modified: lighttpd/trunk/debian/lighttpd.preinst
===================================================================
--- lighttpd/trunk/debian/lighttpd.preinst 2010-05-26 08:07:59 UTC (rev 451)
+++ lighttpd/trunk/debian/lighttpd.preinst 2010-05-26 08:10:09 UTC (rev 452)
@@ -1,35 +1,6 @@
#! /bin/sh -e
# preinst script for lighttpd
-CA=/etc/lighttpd/conf-available
-CE=/etc/lighttpd/conf-enabled
-
-if test -f "$CA/10-auth.conf"; then
- if test -f "$CA/05-auth.conf"; then
- echo 1>&2 "Not touching conf-available/10-auth.conf because conf-available/05-auth.conf exists !!!"
- echo 1>&2 "Please read /usr/share/doc/lighttpd/NEWS.Debian"
- else
- echo "Renaming conf-available/10-auth.conf into conf-available/05-auth.conf"
- mv "$CA/10-auth.conf" "$CA/05-auth.conf"
- fi
-fi
-
-if test -f "$CE/10-auth.conf"; then
- if test -f "$CE/05-auth.conf"; then
- echo 1>&2 "Not touching conf-enabled/10-auth.conf because conf-enabled/05-auth.conf exists !!!"
- echo 1>&2 "Please read /usr/share/doc/lighttpd/NEWS.Debian"
- else
- if test -h "$CE/10-auth.conf" && test "$(readlink -m "$CE/10-auth.conf")" = "$CA/10-auth.conf"; then
- echo "Updating conf-enabled symlink to 05-auth.conf accordingly"
- ln -s -f "../conf-available/05-auth.conf" "$CE/05-auth.conf"
- fi
- if test -f "$CE/10-auth.conf"; then
- echo "Renaming conf-enabled/10-auth.conf into conf-enabled/05-auth.conf"
- mv "$CE/10-auth.conf" "$CE/05-auth.conf"
- fi
- fi
-fi
-
#DEBHELPER#
exit 0
More information about the pkg-lighttpd-maintainers
mailing list