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

Merge pull request #4 from YunoHost-Apps/testing

Woraround for https://github.com/osTicket/osTicket-plugins/pull/174
This commit is contained in:
yalh76 2020-04-17 03:36:06 +02:00 committed by GitHub
commit 81e4075468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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/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
#=================================================

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/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/ost-config.php" "$final_path/include/."
ynh_secure_remove --file="$tmpdir"