1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osticket_ynh.git synced 2024-09-03 19:56:17 +02:00
This commit is contained in:
yalh76 2020-04-17 03:35:21 +02:00
parent 31a954017c
commit 37f9808ac6
2 changed files with 7 additions and 0 deletions

View file

@ -96,6 +96,9 @@ ynh_setup_source --dest_dir="$final_path/include/plugins/build/microsoft-teams"
ynh_setup_source --dest_dir="$final_path/include/plugins/build/slack" --source_id="plugin-slack" ynh_setup_source --dest_dir="$final_path/include/plugins/build/slack" --source_id="plugin-slack"
ynh_setup_source --dest_dir="$final_path/include/plugins/build/preventautoscroll" --source_id="plugin-preventautoscroll" ynh_setup_source --dest_dir="$final_path/include/plugins/build/preventautoscroll" --source_id="plugin-preventautoscroll"
# Woraround for https://github.com/osTicket/osTicket-plugins/pull/174
ynh_replace_string --match_string="https://getcomposer.org/composer.phar" --replace_string="https://getcomposer.org/composer-stable.phar" --target_file="$final_path/include/plugins/build/make.php"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================

View file

@ -105,6 +105,10 @@ then
ynh_setup_source --dest_dir="$final_path/include/plugins/build/slack" --source_id="plugin-slack" ynh_setup_source --dest_dir="$final_path/include/plugins/build/slack" --source_id="plugin-slack"
ynh_setup_source --dest_dir="$final_path/include/plugins/build/preventautoscroll" --source_id="plugin-preventautoscroll" ynh_setup_source --dest_dir="$final_path/include/plugins/build/preventautoscroll" --source_id="plugin-preventautoscroll"
# Woraround for https://github.com/osTicket/osTicket-plugins/pull/174
ynh_replace_string --match_string="https://getcomposer.org/composer.phar" --replace_string="https://getcomposer.org/composer-stable.phar" --target_file="$final_path/include/plugins/build/make.php"
rsync -a "$tmpdir/plugins" "$final_path/include/." rsync -a "$tmpdir/plugins" "$final_path/include/."
rsync -a "$tmpdir/ost-config.php" "$final_path/include/." rsync -a "$tmpdir/ost-config.php" "$final_path/include/."
ynh_secure_remove --file="$tmpdir" ynh_secure_remove --file="$tmpdir"