diff options
| author | anmol26s <github@datamol.org> | 2018-12-26 11:00:48 +0530 |
|---|---|---|
| committer | anmol26s <github@datamol.org> | 2018-12-26 11:00:48 +0530 |
| commit | 209a618e52a1d908f17d97b0a1b5d40b1b014d7f (patch) | |
| tree | c446e7933d17e9dcb9335ef7867fb4b737a423ea /scripts/install | |
| parent | ab60f7e6baf4bdbd4161ae56c9e1434ca0251e96 (diff) | |
| download | mastodon_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/install | 8 |
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 |
