From 405eae4495d4a032e4b2e9b4b1dc0dc937e6644f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 12 Oct 2021 10:23:34 -0700 Subject: [PATCH] Fix installation detection --- setup/start/cloudron-motd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/start/cloudron-motd b/setup/start/cloudron-motd index fe8fe1ffe..b9651fe46 100755 --- a/setup/start/cloudron-motd +++ b/setup/start/cloudron-motd @@ -4,7 +4,7 @@ printf "**********************************************************************\n\n" -if [[ -z "$(ls -A /home/yellowtent/boxdata/mail/dkim)" ]]; then +if [[ -z "$(ls -A /home/yellowtent/platformdata/addons/mail/dkim)" ]]; then if [[ -f /tmp/.cloudron-motd-cache ]]; then ip=$(cat /tmp/.cloudron-motd-cache) elif ! ip=$(curl --fail --connect-timeout 2 --max-time 2 -q https://api.cloudron.io/api/v1/helper/public_ip | sed -n -e 's/.*"ip": "\(.*\)"/\1/p'); then