mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-07-28 14:50:57 +02:00
new path for roundcube database
This commit is contained in:
@@ -776,7 +776,11 @@ r="$(gen_pass)"
|
||||
mysql -e "CREATE DATABASE roundcube"
|
||||
mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
|
||||
sed -i "s/%password%/$r/g" /etc/roundcubemail/db.inc.php
|
||||
mysql roundcube < /usr/share/doc/roundcubemail-*/SQL/mysql.initial.sql
|
||||
if [ -e "/usr/share/roundcubemail/SQL/mysql.initial.sql" ]; then
|
||||
mysql roundcube < /usr/share/roundcubemail/SQL/mysql.initial.sql
|
||||
else
|
||||
mysql roundcube < /usr/share/doc/roundcubemail-*/SQL/mysql.initial.sql
|
||||
fi
|
||||
|
||||
# Adding admin user
|
||||
if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ "$force" = 'yes' ]; then
|
||||
|
||||
Reference in New Issue
Block a user