Merge pull request #39 from YunoHost-Apps/alexAubin-patch-1

Prevent install script from exploding when password contains a special chars
This commit is contained in:
Sebastian Gumprich
2022-08-09 17:52:48 +00:00
committed by GitHub
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ Create and email invoices, track payments, expenses, and time tasks
**Shipped version:** 5.5.2~ynh1 **Shipped version:** 5.5.2~ynh1
**Demo:** https://app.invoiceninja.com/dashboard **Demo:** https://app.invoiceninja.com/dashboard
## Screenshots ## Screenshots
+2 -1
View File
@@ -17,7 +17,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires
**Version incluse :** 5.5.2~ynh1 **Version incluse :** 5.5.2~ynh1
**Démo :** https://app.invoiceninja.com/dashboard **Démo :** https://app.invoiceninja.com/dashboard
+1 -1
View File
@@ -146,7 +146,7 @@ ynh_script_progression --message="Building the application..."
pushd "$final_path" pushd "$final_path"
# Run the database migrations and initially fill the db # Run the database migrations and initially fill the db
php$phpversion artisan migrate:fresh --seed --no-interaction --verbose --force php$phpversion artisan migrate:fresh --seed --no-interaction --verbose --force
php$phpversion artisan ninja:create-account --email $email --password $password --no-interaction --verbose php$phpversion artisan ninja:create-account --email $email --password "$password" --no-interaction --verbose
php$phpversion artisan optimize --no-interaction --verbose php$phpversion artisan optimize --no-interaction --verbose
php$phpversion artisan view:clear php$phpversion artisan view:clear
php$phpversion artisan cache:clear php$phpversion artisan cache:clear