[DRE-commits] [SCM] redmine.git branch, master-experimental, updated. debian/1.4.4+dfsg1-1-99-gff47c9f
Ondřej Surý
ondrej at sury.org
Wed Mar 27 11:16:15 UTC 2013
The following commit has been merged in the master-experimental branch:
commit c5570848f3b505522f8f00a2a5b6efe0901bde51
Author: Ondřej Surý <ondrej at sury.org>
Date: Thu Mar 21 17:14:11 2013 +0100
Don't remove cache directory, just it's contents.
diff --git a/debian/changelog b/debian/changelog
index d5beec8..51fafa8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+redmine (2.3.0+dfsg1-4) experimental; urgency=low
+
+ * Fix missing then in the cache clear part of postinst script
+
+ -- Ondřej Surý <ondrej at debian.org> Thu, 21 Mar 2013 17:13:25 +0100
+
redmine (2.3.0+dfsg1-3) experimental; urgency=low
* Put scm.stderr.log into correct directory, this will reenable scm
diff --git a/debian/postinst b/debian/postinst
index d2d7af1..9bb7c6d 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -281,7 +281,7 @@ This may take a while."
echo "Clearing the cache directory for redmine instance \"${lInstance}\".
This may take a while."
if dpkg --compare-versions "$2" lt "2.3.0+dfsg1-3~"; then
- rm -rf /var/cache/redmine/${lInstance}/
+ rm -rf /var/cache/redmine/${lInstance}/*
mkdir /var/cache/redmine/${lInstance}/cache
fi
rake -s tmp:cache:clear RAILS_ENV=$fRailsEnv X_DEBIAN_SITEID="${lInstance}" VERBOSE=$RAKE_VERBOSE || fCode=$?
--
redmine.git
More information about the Pkg-ruby-extras-commits
mailing list