1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tinyfilemanager_ynh.git synced 2024-09-03 20:36:01 +02:00

Merge pull request #14 from YunoHost-Apps/testing

cleaning
This commit is contained in:
eric_G 2023-09-15 23:21:29 +02:00 committed by GitHub
commit 814ef37a87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 22 deletions

View file

@ -37,7 +37,7 @@ TinyFileManager is web based file manager and it is a simple, fast and small fil
**Shipped version:** 2.5.3~ynh1
**Shipped version:** 2.5.3~ynh2
**Demo:** https://tinyfilemanager.github.io/demo/

View file

@ -37,7 +37,7 @@ TinyFileManager is web based file manager and it is a simple, fast and small fil
**Version incluse :** 2.5.3~ynh1
**Version incluse :** 2.5.3~ynh2
**Démo :** https://tinyfilemanager.github.io/demo/

View file

@ -5,7 +5,7 @@ name = "Tiny File Manager"
description.en = "Web based file manager"
description.fr = "Gestionnaire de fichiers simple"
version = "2.5.3~ynh1"
version = "2.5.3~ynh2"
maintainers = ["Jarod5001"]
@ -18,7 +18,7 @@ userdoc = "https://github.com/prasathmani/tinyfilemanager"
code = "https://github.com/prasathmani/tinyfilemanager"
[integration]
yunohost = ">= 11.1.13"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
@ -35,6 +35,10 @@ ram.runtime = "50M"
type = "path"
default = "/tinyfilemanager"
[install.init_main_permission]
type = "group"
default = "visitors"
[resources]
[resources.sources.main]
url = "https://github.com/prasathmani/tinyfilemanager/archive/refs/tags/2.5.3.tar.gz"
@ -51,4 +55,4 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "php8.0-xml php8.0-cli php8.0-iconv php8.0-bz2 php8.0-zip php8.0-fileinfo php8.0-mbstring"
packages = "php8.0-xml, php8.0-cli, php8.0-iconv, php8.0-bz2, php8.0-zip, php8.0-fileinfo, php8.0-mbstring"

View file

@ -36,12 +36,7 @@ mv $install_dir/tinyfilemanager.php $install_dir/index.php
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
ynh_add_fpm_config
# Create a dedicated NGINX config
ynh_add_nginx_config

View file

@ -17,11 +17,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." --
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config

View file

@ -36,11 +36,6 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================

View file

@ -42,7 +42,7 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low
ynh_add_fpm_config
#=================================================
# NGINX CONFIGURATION