[DRE-commits] [redmine] 13/15: fix debian/postrm
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 c15985e7d4b00f2da0bafc1b2319848aed2b0e92
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Feb 14 11:56:38 2016 -0200
fix debian/postrm
---
debian/postrm | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/debian/postrm b/debian/postrm
index 6f23a00..2e9c26b 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -15,15 +15,9 @@ if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
done
fi
-case "$1" in
- purge)
- rm -f /var/lib/redmine/Gemfile.lock
- rm -rf /etc/redmine
- ;;
- *)
- echo "postrm called with invalid argument: $1" >&2
- exit 1
- ;;
-esac
+if [ "$1" = purge ]; then
+ rm -f /var/lib/redmine/Gemfile.lock
+ rm -rf /etc/redmine
+fi
##DEBHELPER##
--
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