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:
commit
81e4075468
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue