ProxSpace/setup/startup_checks.sh
2021-08-09 20:40:51 +02:00

7 lines
190 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