[Pkg-sql-ledger-commit] r546 - ledger-smb/trunk/debian
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Thu May 24 21:15:42 UTC 2012
Author: jame-guest
Date: 2012-05-24 21:15:42 +0000 (Thu, 24 May 2012)
New Revision: 546
Modified:
ledger-smb/trunk/debian/ledgersmb.postinst
Log:
Change to check old_version first in configure step of ledgersmb.postinst.
Modified: ledger-smb/trunk/debian/ledgersmb.postinst
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.postinst 2012-05-24 20:53:52 UTC (rev 545)
+++ ledger-smb/trunk/debian/ledgersmb.postinst 2012-05-24 21:15:42 UTC (rev 546)
@@ -40,10 +40,10 @@
case "$1" in
configure)
- # Do Apache related processing if it is present.
- if [ -d "/etc/apache2" ]; then
- # Only do these if this is the initial install.
- if [ -z "$old_version" ]; then
+ # Only do these if this is the initial install.
+ if [ -z "$old_version" ]; then
+ # Do Apache related processing if it is present.
+ if [ -d "/etc/apache2" ]; then
# Enable Apache mod_rewrite
if [ -x "`which a2enmod 2>/dev/null`" ]; then
a2enmod rewrite
More information about the Pkg-sql-ledger-commit
mailing list