From 98f7a5f2d7f6da74101f3eb38b9a34d076196e25 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 16 Feb 2024 18:23:18 +0200 Subject: [PATCH] fix path --- files/update_mastodon.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/update_mastodon.sh b/files/update_mastodon.sh index f76f49e..f87987f 100755 --- a/files/update_mastodon.sh +++ b/files/update_mastodon.sh @@ -118,17 +118,17 @@ if [ "${current_tag}" != "${tag}" ]; then echo "Running bundle install..." fi if [ "${dummy}" == "true" ]; then - echo sudo -u mastodon "${mastodon_home}/bin/bundle" install + echo sudo -u mastodon "${mastodon_home}/.rbenv/bin/bundle" install else - sudo -u mastodon "${mastodon_home}/bin/bundle" install + sudo -u mastodon "${mastodon_home}/.rbenv/bin/bundle" install fi if [ "${DEBUG}" == "true" ]; then echo "Running yarm install..." fi if [ "${dummy}" == "true" ]; then - echo sudo -u mastodon "${mastodon_home}/bin/yarn" install --frozen-lockfile + echo sudo -u mastodon "${mastodon_home}/.rbenv/bin/yarn" install --frozen-lockfile else - sudo -u mastodon "${mastodon_home}/bin/yarn" install --frozen-lockfile + sudo -u mastodon "${mastodon_home}/.rbenv/bin/yarn" install --frozen-lockfile fi if [ "${DEBUG}" == "true" ]; then echo "Restarting Mastodon services..."