Masato Taruishi
taru****@users*****
2004年 9月 30日 (木) 16:00:43 JST
=================================================================== RCS file: ultrapossum/module/server/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ultrapossum/module/server/Makefile.am 2004/09/28 14:22:54 1.13 +++ ultrapossum/module/server/Makefile.am 2004/09/30 07:00:43 1.14 @@ -1,4 +1,3 @@ - modulename = server include ../ultrapossum.am.in @@ -23,6 +22,12 @@ init.ldif.in install-data-local: + $(mkinstalldirs) $(DESTDIR)/$(modulelocaldir)/db/ + for f in db/dbdump db/dbload db/dbtransition; do\ + $(INSTALL_SCRIPT) $(srcdir)/$$f \ + $(DESTDIR)/$(modulelocaldir)/db/; \ + done + $(mkinstalldirs) $(DESTDIR)/$(sysconfdir)/$(PACKAGE)/ $(mkinstalldirs) $(DESTDIR)/$(sysconfdir)/$(PACKAGE)/in.d/ $(mkinstalldirs) $(DESTDIR)/$(sysconfdir)/$(PACKAGE)/init.ldif.d/ @@ -54,5 +59,8 @@ backup.sh \ apps \ fetchldif \ - pid + pid \ + db/dbdump \ + db/dbload \ + db/dbtransition =================================================================== RCS file: ultrapossum/module/server/update-server,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- ultrapossum/module/server/update-server 2004/09/29 12:59:08 1.54 +++ ultrapossum/module/server/update-server 2004/09/30 07:00:43 1.55 @@ -262,6 +262,11 @@ echo "E: db directory holds another backend type: $val in $DIRECTORY" 1>&2 exit 1 fi + val=`getvalue $DIRECTORY/ultrapossum-environ SLAPD_BERKLEYDB_SONAME` + if test "x$val" != "x$SLAPD_BERKLEYDB_SONAME"; then + echo "E: db is using other berkley db: $val in $DIRECTORY" 1>&2 + exit 1 + fi else echo "W: db directory already exists: $DIRECTORY" 1>&2 fi