summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-01-21 13:26:27 +0000
committerfukachan <fukachan>2001-01-21 13:26:27 +0000
commitbee7ec6907b18ceb3c4222a3ceb85d5b59a8334c (patch)
tree66eb23efc99d3019e40669eaa9fed0c925220440
parent76ff1824010a940997f46f4768ccab186a81f4bc (diff)
downloadfml8-bee7ec6907b18ceb3c4222a3ceb85d5b59a8334c.tar.gz
fml8-bee7ec6907b18ceb3c4222a3ceb85d5b59a8334c.tar.bz2
fml8-bee7ec6907b18ceb3c4222a3ceb85d5b59a8334c.zip
define $ml_spool_dir and $owner
-rwxr-xr-xINSTALL.sh16
1 files changed, 15 insertions, 1 deletions
diff --git a/INSTALL.sh b/INSTALL.sh
index 8fdacaf9..87e4ca85 100755
--- a/INSTALL.sh
+++ b/INSTALL.sh
@@ -20,6 +20,14 @@ prefix_dir=/usr/local
config_dir=/etc/fml
libexec_dir=$prefix_dir/libexec/fml
lib_dir=$prefix_dir/lib/fml
+
+
+# ml spool
+ml_spool_dir=/var/spool/ml
+
+# owner of /var/spool/ml
+owner=fukachan
+
######################
@@ -36,7 +44,8 @@ for dir in $config_dir \
$lib_dir \
$lib_dir/$version \
$libexec_dir \
- $libexec_dir/$version
+ $libexec_dir/$version \
+ $ml_spool_dir
do
test -d $dir || _mkdir $dir
done
@@ -81,4 +90,9 @@ if [ ! -f $libexec_dir/fmlwrapper ];then
)
fi
+if [ -d $ml_spool_dir ]; then
+ echo set up the owner of $ml_spool_dir to be $owner
+ chown -R $owner $ml_spool_dir
+fi
+
exit 0