From b9103bc352c2b0dbcbd850d83045b70878b1c617 Mon Sep 17 00:00:00 2001 From: jarod5001 <68397534+jarod5001@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:40:11 +0100 Subject: [PATCH] Rewrite cli install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index fa9ce58..22db938 100644 --- a/scripts/install +++ b/scripts/install @@ -69,10 +69,10 @@ ynh_script_progression --message="Setuping database..." 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 -ynh_secure_remove --file="$install_dir/installation" +# ynh_secure_remove --file="$install_dir/installation" #================================================= # GENERIC FINALIZATION