mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Merge branch 'testing' into PostgreSQL
This commit is contained in:
commit
6e7374688c
3 changed files with 10 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
// *** Files and directories ***
|
// *** Files and directories ***
|
||||||
// *****************************
|
// *****************************
|
||||||
|
|
||||||
putenv('TTRSS_PHP_EXECUTABLE=/usr/bin/php');
|
putenv('TTRSS_PHP_EXECUTABLE=/usr/bin/php__PHPVERSION__');
|
||||||
// Path to PHP *COMMAND LINE* executable, used for various command-line tt-rss
|
// Path to PHP *COMMAND LINE* executable, used for various command-line tt-rss
|
||||||
// programs and update daemon. Do not try to use CGI binary here, it won't work.
|
// programs and update daemon. Do not try to use CGI binary here, it won't work.
|
||||||
// If you see HTTP headers being displayed while running tt-rss scripts,
|
// If you see HTTP headers being displayed while running tt-rss scripts,
|
||||||
|
|
|
@ -23,6 +23,7 @@ ynh_abort_if_errors
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
|
phpversion=$YNH_PHP_VERSION
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,14 @@ ynh_script_progression --message="Removing dependencies..." --weight=1
|
||||||
# Remove metapackage and its dependencies
|
# Remove metapackage and its dependencies
|
||||||
ynh_remove_app_dependencies
|
ynh_remove_app_dependencies
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REMOVE VARIOUS FILES
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Removing various files..." --weight=1
|
||||||
|
|
||||||
|
# Remove a cron file
|
||||||
|
ynh_exec_warn_less ynh_secure_remove --file="/etc/cron.d/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue