mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-23 17:26:02 +00:00
Need to set locale to C for tr on mac.
This commit is contained in:
parent
1640c70b44
commit
506d47fc6d
@ -148,6 +148,7 @@ fi
|
||||
if [ "$ADMINPW" = "" ] ; then
|
||||
# OK. They didn't supply one, and pwgen didn't work, so we hack something
|
||||
# together from /dev/random ...
|
||||
export LC_ALL=C
|
||||
ADMINPW="`dd if=/dev/urandom bs=512 count=1 2>/dev/null | tr -c -d "a-km-zA-HJ-NP-Y0-9" | cut -c2-9`"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user