aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index ba7b27f..8e33ce8 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -76,7 +76,7 @@ $final_path/.rbenv/versions/2.5.0/bin/ruby -v
RCOMMANDS
# Create symlink for ruby 2.5.0
-sudo rm /usr/bin/ruby
+sudo rm /usr/bin/ruby || true
sudo ln -s $final_path/.rbenv/versions/2.5.0/bin/ruby /usr/bin/ruby || true
# Install Mastodon