From 952a4d3aea21226ecf09b5305f307cc8377cbcca Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 27 May 2020 02:40:26 +0200 Subject: [PATCH] removing workaround --- scripts/install | 3 --- scripts/upgrade | 4 ---- 2 files changed, 7 deletions(-) diff --git a/scripts/install b/scripts/install index e0c44a0..a37e8de 100644 --- a/scripts/install +++ b/scripts/install @@ -96,9 +96,6 @@ 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 #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 0f272c7..c48c528 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,10 +105,6 @@ 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"