[Webapps-common-discuss] webapps-common/debian changelog, 1.8,
1.9 webapps-common.postinst, 1.2, 1.3 webapps-common.postrm,
1.2, 1.3
seanius at haydn.debian.org
seanius at haydn.debian.org
Sat Apr 1 17:53:44 UTC 2006
Update of /cvsroot/webapps-common/webapps-common/debian
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv2073/debian
Modified Files:
changelog webapps-common.postinst webapps-common.postrm
Log Message:
another couple misc fixes
Index: changelog
===================================================================
RCS file: /cvsroot/webapps-common/webapps-common/debian/changelog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- changelog 1 Apr 2006 16:32:21 -0000 1.8
+++ changelog 1 Apr 2006 17:53:39 -0000 1.9
@@ -8,6 +8,7 @@
* make sure purge removes everything it's supposed to (ucf files,
vhost-registered debconf templates, etc)
* virtualhosts.conf wasn't quite working... it is now.
+ * small fixes in list handling functions _wc_list_remove/_wc_list_join
-- sean finney <seanius at debian.org> Sat, 01 Apr 2006 14:09:58 +0200
Index: webapps-common.postinst
===================================================================
RCS file: /cvsroot/webapps-common/webapps-common/debian/webapps-common.postinst,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- webapps-common.postinst 1 Apr 2006 16:32:21 -0000 1.2
+++ webapps-common.postinst 1 Apr 2006 17:53:39 -0000 1.3
@@ -4,7 +4,9 @@
. /usr/share/debconf/confmodule
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
- ucf /usr/share/webapps-common/templates/virtualhosts.conf /etc/webapps-common/virtualhosts.conf
+ if [ ! -f /etc/webapps-common/virtualhosts.conf ]; then
+ ucf /usr/share/webapps-common/templates/virtualhosts.conf /etc/webapps-common/virtualhosts.conf
+ fi
fi
#DEBHELPER#
Index: webapps-common.postrm
===================================================================
RCS file: /cvsroot/webapps-common/webapps-common/debian/webapps-common.postrm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- webapps-common.postrm 17 Oct 2005 10:17:13 -0000 1.2
+++ webapps-common.postrm 1 Apr 2006 17:53:39 -0000 1.3
@@ -1,6 +1,8 @@
#!/bin/sh
-rm -f /etc/webapps-common/virtualhosts.conf
-ucf --purge /etc/webapps-common/virtualhosts.conf
+if [ "$1" = "purge" ]; then
+ rm -f /etc/webapps-common/virtualhosts.conf
+ ucf --purge /etc/webapps-common/virtualhosts.conf
+fi
#DEBHELPER#
More information about the Webapps-common-discuss
mailing list