From 209a618e52a1d908f17d97b0a1b5d40b1b014d7f Mon Sep 17 00:00:00 2001 From: anmol26s Date: Wed, 26 Dec 2018 11:00:48 +0530 Subject: Don't sync system folder if it don't exits while update --- scripts/install | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'scripts/install') 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 -- cgit v1.2.3-70-g09d2