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

Rewrite cli install

This commit is contained in:
jarod5001 2024-02-01 10:40:11 +01:00 committed by GitHub
parent c2a38644eb
commit b9103bc352
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,10 +69,10 @@ ynh_script_progression --message="Setuping database..."
pushd "$install_dir" pushd "$install_dir"
php$phpversion cli/joomla.php user:add --username="$admin" --name="$admin" --password="$password" --email="$email" --usergroup="Super Users" --db-type=mysql --db-host=localhost --db-user=$db_user --db-pass=$db_pwd --db-name=$db_name --db-prefix=$db_prefix -n php$phpversion cli/joomla.php install --admin-user="$admin" --admin-username="$admin" --admin-password="$password" --admin-email="$email" --db-type=mysql --db-host=localhost --db-user=$db_user --db-pass=$db_pwd --db-name=$db_name --db-prefix=$db_prefix --site-name=yunojoomla -n
popd popd
ynh_secure_remove --file="$install_dir/installation" # ynh_secure_remove --file="$install_dir/installation"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION