Mercurial > hgrepos > hgweb.cgi > s4
changeset 88:e475a74e2699
TYPE
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 03 Aug 2015 16:15:49 +0900 |
parents | 573f0d54eb5c |
children | 15d7f2d34e6a |
files | s4-start.sh |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-start.sh Mon Aug 03 16:06:50 2015 +0900 +++ b/s4-start.sh Mon Aug 03 16:15:49 2015 +0900 @@ -18,6 +18,7 @@ -h Show this help -a ADM Set ADMIN email address to ADM -f Force overwriting + -g Guestonly mode(No login required) -t TYPE Construction type (defaults to $TYPE) TYPEs are one of directory names in examples except \`common'. @@ -57,7 +58,7 @@ exit 1 fi -. ./s4-funcs.sh || exit 2 +. ./s4-funcs.sh if ! checkdomain $ADMIN; then cat<<EOF 1>&2 Administrator's email - $ADMIN - is invalid(host not found). @@ -74,7 +75,7 @@ rm -rf templ/* fi mkdir templ -if (cd templ && ln -s ../examples/$type/* .); then +if (cd templ && ln -s ../examples/$TYPE/* .); then if ./s4-init.sh; then cat<<EOF -------- The s4 System Successfully Installed --------