1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shuri_ynh.git synced 2024-09-03 20:16:20 +02:00
This commit is contained in:
ericgaspar 2022-03-29 10:27:15 +02:00
parent d4a6aea144
commit 14e6863ff0
No known key found for this signature in database
GPG key ID: 574F281483054D44
6 changed files with 5 additions and 15 deletions

View file

@ -1 +1 @@
Simple url shortener script Simple URL shortener script

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
YNH_PHP_VERSION="7.3" YNH_PHP_VERSION="7.4"
# Composer version # Composer version
YNH_COMPOSER_VERSION="2.2.9" YNH_COMPOSER_VERSION="2.2.9"

View file

@ -60,7 +60,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # 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 ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src

View file

@ -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" 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 # GENERIC FINALIZATION
#================================================= #=================================================

View file

@ -95,7 +95,7 @@ ynh_add_fpm_config
#================================================= #=================================================
# INSTALL SHURI WITH COMPOSER # 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 ynh_install_composer