[sheepdog] [PATCH v2 4/6] debian: add missing db_stop

MORITA Kazutaka morita.kazutaka at gmail.com
Sat Jul 13 16:23:00 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

This fixes a problem that the deb package installation hangs.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 debian/sheepdog.postinst |    1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/sheepdog.postinst b/debian/sheepdog.postinst
index f4c48a1..bc72f06 100644
--- a/debian/sheepdog.postinst
+++ b/debian/sheepdog.postinst
@@ -21,6 +21,7 @@ if [ "$1" = "configure" ] ; then
 		db_get sheepdog/daemon_args
 		sed -i -e "s/^[ \t]*DAEMON_ARGS=.*/DAEMON_ARGS=\"$RET\"/g" /etc/default/sheepdog
 	fi
+	db_stop || true
 fi
 
 #DEBHELPER#
-- 
1.7.9.5




More information about the sheepdog mailing list