diff options
| author | yalh76 <yalh@yahoo.com> | 2020-09-04 02:01:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-04 02:01:49 +0200 |
| commit | bde14cc4496445fdfed4616ac44fc9527c8369fd (patch) | |
| tree | 5fbfd718e790dbe3ed4b1dc8273487bd7069520d /scripts/install | |
| parent | 61a523591137c0d817ad07d2c604cd314caf0dad (diff) | |
| parent | 76fb3457572c661b17032655ef594180fdb2ede6 (diff) | |
| download | mastodon_ynh-bde14cc4496445fdfed4616ac44fc9527c8369fd.tar.gz mastodon_ynh-bde14cc4496445fdfed4616ac44fc9527c8369fd.tar.bz2 mastodon_ynh-bde14cc4496445fdfed4616ac44fc9527c8369fd.zip | |
Merge pull request #235 from YunoHost-Apps/testing
Upgrade to 3.2.0
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install index 53b598b..0c92114 100644 --- a/scripts/install +++ b/scripts/install @@ -103,10 +103,17 @@ ynh_script_progression --message="Setting up source files..." ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src mkdir $final_path -ynh_setup_source --dest_dir="$final_path/live" -# Temporary workaround for https://github.com/tootsuite/mastodon/issues/13292 -ynh_replace_string --match_string="sidekiq-unique-jobs (6.0.18)" --replace_string="sidekiq-unique-jobs (6.0.20)" --target_file="$final_path/live/Gemfile.lock" +if [ "$(lsb_release --codename --short)" = "buster" ]; then + ynh_setup_source --dest_dir="$final_path/live" +else + ynh_script_progression --message="Setting up source files..." + + ynh_setup_source --dest_dir="$final_path/live" --source_id=jessie + + # Temporary workaround for https://github.com/tootsuite/mastodon/issues/13292 + ynh_replace_string --match_string="sidekiq-unique-jobs (6.0.18)" --replace_string="sidekiq-unique-jobs (6.0.20)" --target_file="$final_path/live/Gemfile.lock" +fi #================================================= # NGINX CONFIGURATION |
