mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-07-16 02:03:02 -07:00
13 lines
No EOL
363 B
Bash
13 lines
No EOL
363 B
Bash
#!/bin/bash
|
|
|
|
#Check for an invalid ProxSpace path
|
|
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 |