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:
commit
328cb8e030
2 changed files with 1 additions and 5 deletions
|
@ -38,7 +38,7 @@ After being first registered, you need to execute the folloing command to promot
|
||||||
|
|
||||||
**Run:**
|
**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?`
|
and respond yes to the question ` Add admin privileges to this user?`
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,6 @@ source /usr/share/yunohost/helpers
|
||||||
# MANAGE SCRIPT FAILURE
|
# 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
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue