mirror of
https://github.com/YunoHost-Apps/shuri_ynh.git
synced 2024-09-03 20:16:20 +02:00
Fix
This commit is contained in:
parent
d4a6aea144
commit
14e6863ff0
6 changed files with 5 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
|||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/ ;
|
||||
alias __FINALPATH__/;
|
||||
|
||||
index index.php;
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Simple url shortener script
|
||||
Simple URL shortener script
|
|
@ -4,7 +4,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
YNH_PHP_VERSION="7.3"
|
||||
YNH_PHP_VERSION="7.4"
|
||||
|
||||
# Composer version
|
||||
YNH_COMPOSER_VERSION="2.2.9"
|
||||
|
|
|
@ -60,7 +60,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Setting up source files..." --weight=1
|
||||
ynh_script_progression --message="Setting up source files..." --weight=2
|
||||
|
||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
|
|
|
@ -76,16 +76,6 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
|
|||
|
||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
#=================================================
|
||||
# REINSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
# ynh_script_progression --message="Reinstalling dependencies..." --weight=2
|
||||
|
||||
# # Define and install dependencies
|
||||
# ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
|
@ -95,7 +95,7 @@ ynh_add_fpm_config
|
|||
#=================================================
|
||||
# INSTALL SHURI WITH COMPOSER
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing $app with Composer..." --weight=15
|
||||
ynh_script_progression --message="Installing $app with Composer..." --weight=3
|
||||
|
||||
ynh_install_composer
|
||||
|
||||
|
|
Loading…
Reference in a new issue