correct variable references to prevent incorrect globbing
This commit is contained in:
		
							parent
							
								
									4bc6ffc24c
								
							
						
					
					
						commit
						276f13207b
					
				
							
								
								
									
										4
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								setup.sh
									
									
									
									
									
								
							| @ -67,7 +67,7 @@ done | |||||||
| # using certbot? | # using certbot? | ||||||
| while true; do | while true; do | ||||||
|     read -p "Are you using Certbot to handle your SSL certificates? (default: NO) " yn |     read -p "Are you using Certbot to handle your SSL certificates? (default: NO) " yn | ||||||
|     case $yn in |     case "${yn}" in | ||||||
|         [Yy]*) |         [Yy]*) | ||||||
|             useCertbot=1 |             useCertbot=1 | ||||||
|             break |             break | ||||||
| @ -91,7 +91,7 @@ done | |||||||
| if [ "${useCertbot}" -eq 1 ]; then | if [ "${useCertbot}" -eq 1 ]; then | ||||||
|     while true; do |     while true; do | ||||||
|         read -p "What is the primary domain for your Certbot Certificates? " inputCertbotDomain |         read -p "What is the primary domain for your Certbot Certificates? " inputCertbotDomain | ||||||
|         case $inputCertbotDomain in |         case "${inputCertbotDomain}" in | ||||||
|             '') |             '') | ||||||
|                 echo -e "\n${err}You cannot have an empty domain name${norm}" |                 echo -e "\n${err}You cannot have an empty domain name${norm}" | ||||||
|                 ;; |                 ;; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user