1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adminer_ynh.git synced 2024-09-03 18:06:06 +02:00
This commit is contained in:
Éric Gaspar 2024-08-29 10:04:19 +02:00
parent 02d9297428
commit c543426994
3 changed files with 8 additions and 6 deletions

View file

@ -11,9 +11,9 @@ maintainers = []
[upstream] [upstream]
license = "Apache-2.0" license = "Apache-2.0"
website = "https://www.adminer.org/" website = "https://docs.adminerevo.org/"
demo = "https://demo.adminer.org/adminer.php?username=" demo = "https://demo.adminer.org/adminer.php?username="
code = "https://github.com/vrana/adminer/" code = "https://github.com/adminerevo/adminerevo"
[integration] [integration]
yunohost = ">= 11.2.27" yunohost = ">= 11.2.27"
@ -50,6 +50,8 @@ ram.runtime = "50M"
[resources.sources.main] [resources.sources.main]
url = "https://github.com/adminerevo/adminerevo/releases/download/v4.8.4/adminer-4.8.4.php" url = "https://github.com/adminerevo/adminerevo/releases/download/v4.8.4/adminer-4.8.4.php"
sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
rename= "index.php"
in_subdir = false
[resources.system_user] [resources.system_user]

View file

@ -25,9 +25,9 @@ ynh_setup_source --dest_dir="$install_dir"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"
#================================================= #=================================================
# PHP-FPM CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1 ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
# Create a dedicated php-fpm config # Create a dedicated php-fpm config
ynh_add_fpm_config ynh_add_fpm_config

View file

@ -10,9 +10,9 @@ source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
# REMOVE NGINX CONFIGURATION # REMOVE SYSTEM CONFIGURATIONS
#================================================= #=================================================
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
# Remove the dedicated nginx config # Remove the dedicated nginx config
ynh_remove_nginx_config ynh_remove_nginx_config