summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-04-25 04:45:15 +0000
committerfukachan <fukachan>2002-04-25 04:45:15 +0000
commit1b804136c4004bea7bb07cdf8b86ef2f7e51364c (patch)
tree9a499cbbbd98c7f3e0837cc5a488ce24ce578e56
parent490037641f3ec804d1ed84dfe9d49cd566425aba (diff)
downloadfml8-1b804136c4004bea7bb07cdf8b86ef2f7e51364c.tar.gz
fml8-1b804136c4004bea7bb07cdf8b86ef2f7e51364c.tar.bz2
fml8-1b804136c4004bea7bb07cdf8b86ef2f7e51364c.zip
check the existence of programs needed to install as a new one
install fmlalias
-rwxr-xr-xINSTALL.sh18
1 files changed, 15 insertions, 3 deletions
diff --git a/INSTALL.sh b/INSTALL.sh
index e0fb767a..0d14d21a 100755
--- a/INSTALL.sh
+++ b/INSTALL.sh
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: INSTALL.sh,v 1.45 2002/04/01 10:08:04 fukachan Exp $
+# $FML: INSTALL.sh,v 1.46 2002/04/15 10:28:08 fukachan Exp $
#
# Run this from the top-level fml source directory.
@@ -90,7 +90,8 @@ echo updating $data_dir/$fml_version/
cp -pr fml/share/* $data_dir/$fml_version/
echo updating ${bindir}/
-for prog in fmldoc fmlthread fmlconf makefml fmlsch fmlhtmlify fmlspool
+for prog in fmlalias fmldoc fmlthread fmlconf \
+ makefml fmlsch fmlhtmlify fmlspool
do
echo updating ${bindir}/$prog
cp fml/bin/$prog ${bindir}/$prog.new
@@ -103,7 +104,7 @@ PROGRAMS="$PROGRAMS fmlserv mead fmlconf fmldoc"
PROGRAMS="$PROGRAMS fmlthread fmlthread.cgi"
PROGRAMS="$PROGRAMS makefml makefml.cgi menu.cgi"
PROGRAMS="$PROGRAMS fmlsch fmlsch.cgi"
-PROGRAMS="$PROGRAMS fmlhtmlify"
+PROGRAMS="$PROGRAMS fmlhtmlify fmlalias"
PROGRAMS="$PROGRAMS fmlspool"
@@ -124,6 +125,17 @@ if [ -f $libexec_dir/loader ];then
fi
fi
+#
+# new program
+#
+for x in $PROGRAMS
+do
+ if [ ! -x $libexec_dir/$x ];then
+ loader_replace=1
+ fi
+done
+
+
#
# install loader
#