1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update install

This commit is contained in:
abeudin 2013-12-04 18:15:48 +01:00
parent 8e75c80d54
commit 3c300d1478

View file

@ -11,6 +11,9 @@ if [[ ! $? -eq 0 ]]; then
exit 1
fi
# Generate random password
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
# Use 'wordpress' as database name and user
db_user=wordpress