From 2e7f1db841c3ae522c530eb40dcdae92e5fdacf7 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 16 Feb 2024 18:14:04 +0200 Subject: [PATCH] Add 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 ad4f9a0..f76f49e 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 bundle install + echo sudo -u mastodon "${mastodon_home}/bin/bundle" install else - sudo -u mastodon bundle install + sudo -u mastodon "${mastodon_home}/bin/bundle" install fi if [ "${DEBUG}" == "true" ]; then echo "Running yarm install..." fi if [ "${dummy}" == "true" ]; then - echo sudo -u mastodon yarn install --frozen-lockfile + echo sudo -u mastodon "${mastodon_home}/bin/yarn" install --frozen-lockfile else - sudo -u mastodon yarn install --frozen-lockfile + sudo -u mastodon "${mastodon_home}/bin/yarn" install --frozen-lockfile fi if [ "${DEBUG}" == "true" ]; then echo "Restarting Mastodon services..."