summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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