--- hyperestraier.preinst.orig	2010-08-10 14:45:27.000000000 +0900
+++ hyperestraier.preinst	2010-08-10 14:46:55.000000000 +0900
@@ -22,6 +22,7 @@
     fi
     if dpkg --compare-versions "$2" lt 1.3.3 && test -d $ROOTDIR/_node; then
 	# db incompatible
+	[ -d /var/lib/hyperestraier ] || mkdir -p /var/lib/hyperestraier 
 	cp -p /usr/bin/estcmd /var/lib/hyperestraier/estcmd.$2
 	# stop node server to access db directory
 	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
