[DRE-commits] [SCM] redmine.git branch, master-experimental, updated. debian/1.4.4+dfsg1-1-64-g291dbc7

Ondřej Surý ondrej at sury.org
Sun Dec 16 20:37:09 UTC 2012


The following commit has been merged in the master-experimental branch:
commit e2e61db79fac73a0a23843e4dfde2bb64c009485
Author: Ondřej Surý <ondrej at sury.org>
Date:   Wed Dec 12 16:17:54 2012 +0100

    Purge session.yml from ucf database before replacing it

diff --git a/debian/postinst b/debian/postinst
index 6d5b827..aebba24 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -232,6 +232,7 @@ for lInstance in $gInstances; do
 			fi
 			#fi
 			if dpkg --compare-versions "$2" lt "2.1.4+dfsg2-2~" && [ -f "${fRailsEtc}/session.yml" ]; then
+			    ucf --purge "${fRailsEtc}/session.yml"
 			    mv "${fRailsEtc}/session.yml" "${fRailsEtc}/session.yml.dpkg-old";
 			fi
 			# add secret key, set permissions, manage file with ucf

-- 
redmine.git



More information about the Pkg-ruby-extras-commits mailing list