[Debconf-video-commits] r376 - package/branches/pycon09/debian
benh at alioth.debian.org
benh at alioth.debian.org
Mon Mar 23 23:27:29 UTC 2009
Author: benh
Date: 2009-03-23 23:27:28 +0000 (Mon, 23 Mar 2009)
New Revision: 376
Modified:
package/branches/pycon09/debian/debconf-video-store.postinst
package/branches/pycon09/debian/debconf-video-store.prerm
Log:
Do not disable the site temporarily on upgrade.
Redirect a2{en,dis}site output to /dev/null - it just says we need to run reload, which we do.
Modified: package/branches/pycon09/debian/debconf-video-store.postinst
===================================================================
--- package/branches/pycon09/debian/debconf-video-store.postinst 2009-03-23 19:55:08 UTC (rev 375)
+++ package/branches/pycon09/debian/debconf-video-store.postinst 2009-03-23 23:27:28 UTC (rev 376)
@@ -1,6 +1,6 @@
#!/bin/sh
-a2ensite pyconvideo
+a2ensite pyconvideo >/dev/null
invoke-rc.d apache2 reload
#DEBHELPER#
Modified: package/branches/pycon09/debian/debconf-video-store.prerm
===================================================================
--- package/branches/pycon09/debian/debconf-video-store.prerm 2009-03-23 19:55:08 UTC (rev 375)
+++ package/branches/pycon09/debian/debconf-video-store.prerm 2009-03-23 23:27:28 UTC (rev 376)
@@ -1,6 +1,8 @@
#!/bin/sh
-a2dissite pyconvideo
-invoke-rc.d apache2 reload
+if [ "$1" != "upgrade" ]; then
+ a2dissite pyconvideo >/dev/null
+ invoke-rc.d apache2 reload
+fi
#DEBHELPER#
More information about the Debconf-video-commits
mailing list