[sheepdog] [PATCH 7/7] RM datadir (/var/lib/sheepdog) when purged

YunQiang Su wzssyqa at gmail.com
Tue Sep 24 09:46:18 CEST 2013


Signed-off-by: YunQiang Su <wzssyqa at gmail.com>
---
 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.4.rc3




More information about the sheepdog mailing list