1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Merge pull request #35 from yalh76/fix_ynh_install_php

fix ynh_install_php
This commit is contained in:
yalh76 2019-05-16 20:14:16 +02:00 committed by GitHub
commit 328cb8e030
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -38,7 +38,7 @@ After being first registered, you need to execute the folloing command to promot
**Run:**
$ (cd /var/www/pixelfed && php artisan user:admin 1)
$ (cd /var/www/pixelfed && php7.2 artisan user:admin 1)
and respond yes to the question ` Add admin privileges to this user?`

View file

@ -13,10 +13,6 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
### Remove this function if there's nothing to clean before calling the remove script.
read -p "key"
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors