mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-21 13:53:29 -07:00
Added downloaded by git check
This commit is contained in:
parent
a1ae454b6e
commit
5bc8dbdc75
3 changed files with 14 additions and 5 deletions
13
msys2/ps/startup_checks.sh
Normal file
13
msys2/ps/startup_checks.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue