diff --git a/scripts/install b/scripts/install index 72069e1..73bc5da 100755 --- a/scripts/install +++ b/scripts/install @@ -9,6 +9,7 @@ source /usr/share/yunohost/helpers timezone="$(cat /etc/timezone)" email=$(ynh_user_get_info --username=$admin --key=mail) +password=$YNH_APP_ARG_PASSWORD #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -64,7 +65,7 @@ pushd $install_dir #php$php_version artisan p:environment:database --no-interaction #php$php_version artisan p:environment:mail --no-interaction php$php_version artisan migrate --seed --force - #php$php_version artisan p:user:make --name-first $admin --name-last $admin --username $admin --email $email --password $password --admin 1 + php$php_version artisan p:user:make --name-first $admin --name-last $admin --username $admin --email $email --password $password --admin 1 popd #=================================================