You've already forked gitea-multi-install
minor changes
This commit is contained in:
@@ -91,7 +91,7 @@ inputcheck "$hostname" "$giteapwd"
|
||||
# Check if a Nginx conf file with the hostname allready exists
|
||||
#
|
||||
hostcheck=$(grep -r --exclude="giteainstall" --exclude="postinstall" --exclude="README.md" $hostname /etc/nginx/ *)
|
||||
if [ ! -z "$hostcheck" ]; then printf "Found a configuration file already containing $hostname in /ect/nginx/* going to abort...\n" ; exit ; fi
|
||||
if [ ! -z "$hostcheck" ]; then printf "Found a configuration file already containing " ; printf "%s" "$hostname" ; printf " in /ect/nginx/* going to abort...\n" ; exit ; fi
|
||||
#
|
||||
# Download gitea only if gitea does not allready exists in /etc/gitea
|
||||
#
|
||||
|
Reference in New Issue
Block a user