-d, not -f

This commit is contained in:
Ruben 2025-07-16 21:23:58 -05:00
commit 5abbb15856
No known key found for this signature in database
GPG key ID: 8EA836555FB6D9A5

View file

@ -700,7 +700,7 @@ function fedi_update_frontends {
# TODO: it's probably possible to turn this into an array loop of some sort # TODO: it's probably possible to turn this into an array loop of some sort
echo "${blue}update-frontends:${normal} Updating standalone frontends..." echo "${blue}update-frontends:${normal} Updating standalone frontends..."
if [ -f "$frontend_folder" ]; then if [ -d "$frontend_folder" ]; then
# update mastodon # update mastodon
echo "${blue}Updating Mastodon...${normal}" echo "${blue}Updating Mastodon...${normal}"
_repeat_process $mastodon_fe_url masto-fe chuckya-fe _repeat_process $mastodon_fe_url masto-fe chuckya-fe