--- scripts/make-install.orig	Thu Aug 19 07:33:07 1999
+++ scripts/make-install	Sun Jan 28 10:51:13 2001
@@ -1,16 +1,17 @@
 #!/bin/sh
 
-INST_DIR=$1
+INST_DIR=$PREFIX
 
-scripts/mkinstalldirs 0755    $INST_DIR/bin 
-scripts/mkinstalldirs 0755    $INST_DIR/include 
 scripts/mkinstalldirs 0755    $INST_DIR/include/common
-scripts/mkinstalldirs 0755    $INST_DIR/lib
-scripts/mkinstalldirs 0755    $INST_DIR/msqldb
-scripts/mkinstalldirs 0755    $INST_DIR/msqldb/.tmp
-scripts/mkinstalldirs 0755    $INST_DIR/doc
-scripts/mkinstalldirs 0755    $INST_DIR/www
-scripts/mkinstalldirs 0755    $INST_DIR/misc
-scripts/mkinstalldirs 0755    $INST_DIR/makegen
-scripts/mkinstalldirs 0755    $INST_DIR/modules
+scripts/mkinstalldirs 0755    $INST_DIR/etc/msql2
+scripts/mkinstalldirs 0755    /var/spool/msql
+scripts/mkinstalldirs 0700    /var/db/msqldb
+scripts/mkinstalldirs 0700    /var/db/msqldb/.tmp
+scripts/mkinstalldirs 0755    $INST_DIR/share/doc/msql
+scripts/mkinstalldirs 0755    $INST_DIR/share/msql/misc
+scripts/mkinstalldirs 0755    $INST_DIR/share/msql/www
+scripts/mkinstalldirs 0755    $INST_DIR/share/msql/makegen
+/usr/sbin/chown -R msql.msql /var/db/msqldb /var/spool/msql
+scripts/mkinstalldirs 0755    $INST_DIR/lib/msql
+scripts/mkinstalldirs 0755    $INST_DIR/libexec/msql
 
