This commit is contained in:
Antonio J. Delgado 2024-02-16 18:23:18 +02:00
parent 2e7f1db841
commit 98f7a5f2d7

View file

@ -118,17 +118,17 @@ if [ "${current_tag}" != "${tag}" ]; then
echo "Running bundle install..." echo "Running bundle install..."
fi fi
if [ "${dummy}" == "true" ]; then if [ "${dummy}" == "true" ]; then
echo sudo -u mastodon "${mastodon_home}/bin/bundle" install echo sudo -u mastodon "${mastodon_home}/.rbenv/bin/bundle" install
else else
sudo -u mastodon "${mastodon_home}/bin/bundle" install sudo -u mastodon "${mastodon_home}/.rbenv/bin/bundle" install
fi fi
if [ "${DEBUG}" == "true" ]; then if [ "${DEBUG}" == "true" ]; then
echo "Running yarm install..." echo "Running yarm install..."
fi fi
if [ "${dummy}" == "true" ]; then 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 else
sudo -u mastodon "${mastodon_home}/bin/yarn" install --frozen-lockfile sudo -u mastodon "${mastodon_home}/.rbenv/bin/yarn" install --frozen-lockfile
fi fi
if [ "${DEBUG}" == "true" ]; then if [ "${DEBUG}" == "true" ]; then
echo "Restarting Mastodon services..." echo "Restarting Mastodon services..."