aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoranmol26s <github@datamol.org>2018-12-26 11:00:48 +0530
committeranmol26s <github@datamol.org>2018-12-26 11:00:48 +0530
commit209a618e52a1d908f17d97b0a1b5d40b1b014d7f (patch)
treec446e7933d17e9dcb9335ef7867fb4b737a423ea /scripts/install
parentab60f7e6baf4bdbd4161ae56c9e1434ca0251e96 (diff)
downloadmastodon_ynh-209a618e52a1d908f17d97b0a1b5d40b1b014d7f.tar.gz
mastodon_ynh-209a618e52a1d908f17d97b0a1b5d40b1b014d7f.tar.bz2
mastodon_ynh-209a618e52a1d908f17d97b0a1b5d40b1b014d7f.zip
Don't sync system folder if it don't exits while update
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/install b/scripts/install
index 097cd32..1536cd5 100644
--- a/scripts/install
+++ b/scripts/install
@@ -161,11 +161,9 @@ eval \"\$(rbenv init -)\"" > $final_path/.profile
# Install ruby-build
(
- exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.5.3 \
-
- exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.5.3 \
-
- exec_as "$app" $final_path/.rbenv/versions/2.5.3/bin/ruby -v \
+ exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.5.3 || true
+ exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.5.3 || true
+ exec_as "$app" $final_path/.rbenv/versions/2.5.3/bin/ruby -v
)
# Create symlink for ruby