1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osticket_ynh.git synced 2024-09-03 19:56:17 +02:00

Disable core-plugins

This commit is contained in:
yalh76 2021-03-04 22:59:28 +01:00
parent d5cc37f149
commit ad2bf9aff0
4 changed files with 10 additions and 10 deletions

View file

@ -23,6 +23,8 @@
upgrade=1 from_commit=81e4075468d035b12ad70936d016d45d0f124720 upgrade=1 from_commit=81e4075468d035b12ad70936d016d45d0f124720
# 1.14.2 # 1.14.2
upgrade=1 from_commit=cadb10e497d938e0e684e43ac870a3807b4b60d9 upgrade=1 from_commit=cadb10e497d938e0e684e43ac870a3807b4b60d9
# 1.14.3
upgrade=1 from_commit=fe0bd01ffa787713e2b36408abe1e44033aacb69
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0
@ -35,3 +37,5 @@ Notification=none
name=1.14.1 name=1.14.1
; commit=cadb10e497d938e0e684e43ac870a3807b4b60d9 ; commit=cadb10e497d938e0e684e43ac870a3807b4b60d9
name=1.14.2 name=1.14.2
; commit=fe0bd01ffa787713e2b36408abe1e44033aacb69
name=1.14.3

View file

@ -13,12 +13,12 @@
"name": "yalh76" "name": "yalh76"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.1.3" "yunohost": ">= 4.1.7.3"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"php7.0-fpm", "php7.3-fpm",
"mysql" "mysql"
], ],
"arguments": { "arguments": {

View file

@ -141,7 +141,7 @@ mkdir -p "$final_path/include/plugins/build/.config/composer"
COMPOSER_HOME="$final_path/include/plugins/build/.config/composer" COMPOSER_HOME="$final_path/include/plugins/build/.config/composer"
pushd "$final_path/include/plugins/build" pushd "$final_path/include/plugins/build"
php${phpversion} make.php hydrate #php${phpversion} make.php hydrate
php${phpversion} -dphar.readonly=0 make.php build auth-cas php${phpversion} -dphar.readonly=0 make.php build auth-cas
php${phpversion} -dphar.readonly=0 make.php build auth-ldap php${phpversion} -dphar.readonly=0 make.php build auth-ldap
php${phpversion} -dphar.readonly=0 make.php build auth-oauth php${phpversion} -dphar.readonly=0 make.php build auth-oauth
@ -211,9 +211,7 @@ chmod 0644 $config_file
#================================================= #=================================================
ynh_script_progression --message="Setting the cron file..." ynh_script_progression --message="Setting the cron file..."
cp ../conf/cron /etc/cron.d/$app ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="/etc/cron.d/$app"
#================================================= #=================================================
# STORE THE CONFIG FILE CHECKSUM # STORE THE CONFIG FILE CHECKSUM

View file

@ -139,7 +139,7 @@ then
mkdir -p "$final_path/include/plugins/build/.config/composer" mkdir -p "$final_path/include/plugins/build/.config/composer"
COMPOSER_HOME="$final_path/include/plugins/build/.config/composer" COMPOSER_HOME="$final_path/include/plugins/build/.config/composer"
pushd "$final_path/include/plugins/build" pushd "$final_path/include/plugins/build"
php${phpversion} make.php hydrate #php${phpversion} make.php hydrate
php${phpversion} -dphar.readonly=0 make.php build auth-cas php${phpversion} -dphar.readonly=0 make.php build auth-cas
php${phpversion} -dphar.readonly=0 make.php build auth-ldap php${phpversion} -dphar.readonly=0 make.php build auth-ldap
php${phpversion} -dphar.readonly=0 make.php build auth-oauth php${phpversion} -dphar.readonly=0 make.php build auth-oauth
@ -188,9 +188,7 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Setting the cron file..." ynh_script_progression --message="Setting the cron file..."
cp -f ../conf/cron /etc/cron.d/$app ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="/etc/cron.d/$app"
#================================================= #=================================================
# STORE THE CONFIG FILE CHECKSUM # STORE THE CONFIG FILE CHECKSUM