[DRE-commits] [redmine] 15/15: debian/postrm: remove data directories on purge
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Feb 14 14:32:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository redmine.
commit 7bc2b28ccd11d5114452f01c5bb9cb1b0d698720
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Feb 14 12:29:45 2016 -0200
debian/postrm: remove data directories on purge
---
debian/postrm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/postrm b/debian/postrm
index 2e9c26b..02d782a 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -16,7 +16,9 @@ if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
fi
if [ "$1" = purge ]; then
- rm -f /var/lib/redmine/Gemfile.lock
+ rm -rf /var/log/redmine
+ rm -rf /var/cache/redmine
+ rm -rf /var/lib/redmine
rm -rf /etc/redmine
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine.git
More information about the Pkg-ruby-extras-commits
mailing list