Update install

This commit is contained in:
2019-04-19 13:25:08 +02:00
committed by GitHub
parent a561718c77
commit 80be401070
-4
View File
@@ -10,22 +10,18 @@
if [ -d "/nginx/" ]; then if [ -d "/nginx/" ]; then
echo "We've detect a folder '/nginx/' which means" echo "We've detect a folder '/nginx/' which means"
echo "Maybe you have use this script before!" echo "Maybe you have use this script before!"
echo "You can fix this by executing!"
echo "./setup clean"
exit 1 exit 1
fi fi
if [ -d "/etc/nginx" ]; then if [ -d "/etc/nginx" ]; then
echo "We've detect a folder '/etc/nginx' which means" echo "We've detect a folder '/etc/nginx' which means"
echo "Maybe you have use this script before!" echo "Maybe you have use this script before!"
echo "./setup clean"
exit 1 exit 1
fi fi
if [ -d "/opt/nginx/" ]; then if [ -d "/opt/nginx/" ]; then
echo "We've detect a folder '/opt/nginx/' which means" echo "We've detect a folder '/opt/nginx/' which means"
echo "Maybe you have use this script before!" echo "Maybe you have use this script before!"
echo "./setup clean"
exit 1 exit 1
fi fi
nginxVersion=$(curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/data/nginxVersion) nginxVersion=$(curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/data/nginxVersion)