[DRE-commits] [chef] 15/17: Remove /var/lib/chef if empty, on uninstall (Closes: #675365)
Stefano Rivera
stefano at rivera.za.net
Wed Jan 15 15:55:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
stefanor pushed a commit to branch master
in repository chef.
commit 6c1a553b1458be09b3df84acd798ac0de517fdc5
Author: Stefano Rivera <stefanor at debian.org>
Date: Fri Jan 10 16:28:28 2014 +0200
Remove /var/lib/chef if empty, on uninstall (Closes: #675365)
---
debian/changelog | 1 +
debian/chef.prerm | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a7275e4..fddc58c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ chef (11.8.2-1) UNRELEASED; urgency=medium
* Bump Standards-Version to 3.9.5.
- Bump debhelper dependency to 8.1 for build-{arch,indep} support.
* Update po files, and include debian/po/templates.pot.
+ * Remove /var/lib/chef if empty, on uninstall (Closes: #675365)
-- Stefano Rivera <stefanor at debian.org> Thu, 09 Jan 2014 15:19:11 +0200
diff --git a/debian/chef.prerm b/debian/chef.prerm
index bbe2188..5014cdf 100644
--- a/debian/chef.prerm
+++ b/debian/chef.prerm
@@ -5,3 +5,4 @@ set -e
#DEBHELPER#
rm -rf /var/lib/chef/cookbook_index
+rmdir /var/lib/chef || true
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/chef.git
More information about the Pkg-ruby-extras-commits
mailing list