We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451de9d commit 9b5ed17Copy full SHA for 9b5ed17
install/vst-install-rhel.sh
@@ -776,7 +776,11 @@ r="$(gen_pass)"
776
mysql -e "CREATE DATABASE roundcube"
777
mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
778
sed -i "s/%password%/$r/g" /etc/roundcubemail/db.inc.php
779
-mysql roundcube < /usr/share/doc/roundcubemail-*/SQL/mysql.initial.sql
+if [ -e "/usr/share/roundcubemail/SQL/mysql.initial.sql" ]; then
780
+ mysql roundcube < /usr/share/roundcubemail/SQL/mysql.initial.sql
781
+else
782
+ mysql roundcube < /usr/share/doc/roundcubemail-*/SQL/mysql.initial.sql
783
+fi
784
785
# Adding admin user
786
if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ "$force" = 'yes' ]; then
0 commit comments