* Apply example_ynh
* Cleanup ynh_clean_setup
* Fix "php conf location" breaking backup script
See https://github.com/YunoHost-Apps/dokuwiki_ynh/issues/96
the bug:
> php file is still in folder: '/etc/php/7.4/fpm/pool.d/' after upgrade
> instead of '8.1' folder.
Changing the "ynh_add_fpm_config" for the fix. The helper should do the
"php version handling" instead of the package itself
Example taken on the package:
https://github.com/YunoHost-Apps/wordpress_ynh/blob/testing/scripts/upgrade
* enh use helper "ynh_add_config" to manage file
* bump package version and changelog
* Auto-update README
* Version 2 (#98)
* v2
* v2
* Auto-update README
* Update tests.toml
* Update manifest.toml
* Update LICENSE
* cleaning
* cleaning
---------
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
---------
Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Gofannon <gofannon+github@riseup.net>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#issuecomment-404597751
Just one last thing, if you put the yunohost requirement at 2.7.14 (last jessie version), you can remove any reference to #sub_path_only in nginx into your install script, as well as upgrade and change_url scripts.
This fix, alias_traversal, is now handled by the helper itself.