From d1f54072d438eba43f20388b93351e345e9d9e7b Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 16 Feb 2024 15:42:43 +0200 Subject: [PATCH] fix real home for mastodon app --- files/update_mastodon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/update_mastodon.sh b/files/update_mastodon.sh index d9b1b20..4568f96 100755 --- a/files/update_mastodon.sh +++ b/files/update_mastodon.sh @@ -81,7 +81,7 @@ else pre_command="" fi -mastodon_home=$(grep "^mastodon:" /etc/passwd | awk 'BEGIN {FS=":"} {print($6)}') +mastodon_home="$(grep "^mastodon:" /etc/passwd | awk 'BEGIN {FS=":"} {print($6)}')/live" if [ ! -d "${mastodon_home}" ]; then printf "The home for the user mastodon '%s', doesn't exist." "${mastodon_home}" exit 2