This commit is contained in:
Antonio J. Delgado 2024-02-16 18:14:04 +02:00
parent 124580379d
commit 2e7f1db841

View file

@ -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..."