[sheepdog] [PATCH stable-0.7 7/7] RM datadir (/var/lib/sheepdog) when purged
Hitoshi Mitake
mitake.hitoshi at gmail.com
Mon Nov 4 09:27:32 CET 2013
From: YunQiang Su <wzssyqa at gmail.com>
Signed-off-by: YunQiang Su <wzssyqa at gmail.com>
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
debian/sheepdog.postrm | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/sheepdog.postrm b/debian/sheepdog.postrm
index 1611169..fa8b293 100644
--- a/debian/sheepdog.postrm
+++ b/debian/sheepdog.postrm
@@ -4,6 +4,7 @@ set -e
if [ "${1}" = "purge" ] ; then
rm -f /etc/default/sheepdog
+ rm -rf /var/lib/sheepdog
fi
#DEBHELPER#
--
1.8.1.2
More information about the sheepdog
mailing list