aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-10-31 21:43:23 +0100
committerGitHub <noreply@github.com>2020-10-31 21:43:23 +0100
commitcd9e7f85858433c9729454fa8d3ab9f821209a08 (patch)
treeed3143ea2046bb260cad7ac27a12fa47c7ac8613 /scripts/install
parentbde14cc4496445fdfed4616ac44fc9527c8369fd (diff)
parent8a505d8c85cf812c48595b2a6ff47c9a90866fa5 (diff)
downloadmastodon_ynh-cd9e7f85858433c9729454fa8d3ab9f821209a08.tar.gz
mastodon_ynh-cd9e7f85858433c9729454fa8d3ab9f821209a08.tar.bz2
mastodon_ynh-cd9e7f85858433c9729454fa8d3ab9f821209a08.zip
Merge pull request #239 from YunoHost-Apps/testing
Upgrade 3.2.1
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install13
1 files changed, 1 insertions, 12 deletions
diff --git a/scripts/install b/scripts/install
index 0c92114..01a2efc 100644
--- a/scripts/install
+++ b/scripts/install
@@ -102,18 +102,7 @@ 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
-
-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
+ynh_setup_source --dest_dir="$final_path/live"
#=================================================
# NGINX CONFIGURATION