mirror of
https://github.com/sdr-enthusiasts/docker-planefence.git
synced 2025-12-22 11:17:06 +00:00
Modifying the variable expected to determine if Telegram is enabled. … (#257)
Modifying the variable expected to determine if Telegram is enabled. Old value was PF_TELEGRAM_ENABLED, but prep-planefence.sh was reading PF_TELEGRAM_ENABLED from the persistent volume and re-aliasing it as TELEGRAM_ENABLED. Therefore, by reading TELEGRAM_ENABLED, planefence_notify.sh will be executed as expected.
This commit is contained in:
@@ -965,7 +965,7 @@ if chk_enabled "$PLANETWEET" \
|
||||
|| chk_enabled "$PF_MASTODON" \
|
||||
|| [[ -n "$BLUESKY_HANDLE" ]] \
|
||||
|| [[ -n "$RSS_SITELINK" ]] \
|
||||
|| chk_enabled "$PF_TELEGRAM_ENABLED" \
|
||||
|| chk_enabled "$TELEGRAM_ENABLED" \
|
||||
|| [[ -n "$MQTT_URL" ]]; then
|
||||
LOG "Invoking planefence_notify.sh for notifications"
|
||||
$PLANEFENCEDIR/planefence_notify.sh today "$DISTUNIT" "$ALTUNIT"
|
||||
|
||||
Reference in New Issue
Block a user