minor changes

This commit is contained in:
2025-05-28 09:28:04 +02:00
parent c440935b5c
commit e65d700a48
2 changed files with 16 additions and 16 deletions

View File

@@ -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
#