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

Update install

This commit is contained in:
Alexis Gavoty 2014-06-02 11:00:47 +02:00
parent c6ed3958e5
commit 7260e303f9

View file

@ -17,6 +17,10 @@ if [[ ! $? -eq 0 ]]; then
exit 1
fi
# Install dependencies
sudo apt-get update
sudo apt-get install php5-cli -y
# 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')