mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 18:47:28 -07:00
check for special characters in install path
This commit is contained in:
parent
89f8a5c668
commit
dc357e3501
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
#!/bin/bash
|
||||
if ! (echo "$PWD" | grep -Eq ^[a-zA-Z0-9\/\._\-]+$) ; then
|
||||
echo "Error: Install path contains special characters!"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
MKPASSWD_CURRENT="$( mkpasswd -c )"
|
||||
MKGROUP_CURRENT="$( mkgroup -c )"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue