From 7db022c2cc3d6e9fa2e26803c4a424a3bb8c9bd4 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 31 Jan 2018 20:14:01 +0100 Subject: [PATCH] Fix rm rb --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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