1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/joomla_ynh.git synced 2024-09-03 19:26:34 +02:00

Update install: re-uncomment the DB initialization stuff which seems important considering the error on the CI ..

This commit is contained in:
Alexandre Aubin 2023-12-04 21:06:23 +01:00 committed by GitHub
parent b764dcd1de
commit 8a16b11809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,15 +62,15 @@ chown $app:$app "$install_dir/configuration.php"
#=================================================
ynh_script_progression --message="Setuping database..."
#ynh_mysql_execute_file_as_root --file="$install_dir/installation/sql/mysql/base.sql" --database=$db_name
#ynh_mysql_execute_file_as_root --file="$install_dir/installation/sql/mysql/extensions.sql" --database=$db_name
#ynh_mysql_execute_file_as_root --file="$install_dir/installation/sql/mysql/supports.sql" --database=$db_name
ynh_mysql_execute_file_as_root --file="$install_dir/installation/sql/mysql/base.sql" --database=$db_name
ynh_mysql_execute_file_as_root --file="$install_dir/installation/sql/mysql/extensions.sql" --database=$db_name
ynh_mysql_execute_file_as_root --file="$install_dir/installation/sql/mysql/supports.sql" --database=$db_name
#ynh_secure_remove --file="$install_dir/installation"
ynh_secure_remove --file="$install_dir/installation"
#pushd "$install_dir"
# php$phpversion cli/joomla.php user:add --username "$admin" --name "$admin" --password "$password" --email "$email" --usergroup "Super Users" -n
#popd
pushd "$install_dir"
php$phpversion cli/joomla.php user:add --username "$admin" --name "$admin" --password "$password" --email "$email" --usergroup "Super Users" -n
popd
#=================================================
# GENERIC FINALIZATION