set the correct line endings for git

This commit is contained in:
Gator96100 2021-08-09 20:40:51 +02:00
parent eabf954258
commit f5b0b45b39
4 changed files with 5 additions and 8 deletions

3
setup/.gitattributes vendored Normal file
View file

@ -0,0 +1,3 @@
* text eol=lf
*.cmd text eol=crlf
*.bat text eol=crlf

View file

@ -5,9 +5,3 @@ if ! (echo "$PWD" | grep -Eq ^[a-zA-Z0-9\/\._\-]+$) ; then
echo "Error: Install path contains special characters!"
sleep infinity
fi
#Using git to download ProxSpace will cause an installation error
if [ -d "$PWD/.git" ]; then
echo "Error: Do not use Git to download ProxSpace!"
sleep infinity
fi