diff --git a/grocy/rootfs/etc/services.d/php-fpm/run b/grocy/rootfs/etc/services.d/php-fpm/run index 79851a2..b200955 100644 --- a/grocy/rootfs/etc/services.d/php-fpm/run +++ b/grocy/rootfs/etc/services.d/php-fpm/run @@ -3,6 +3,7 @@ # Home Assistant Community Add-on: Grocy # Runs the PHP-FPM daemon # ============================================================================== +declare caldayweek export GROCY_CULTURE export GROCY_CURRENCY export GROCY_ENTRY_PAGE @@ -42,8 +43,8 @@ if bashio::config.false 'features.tasks'; then fi if bashio::config.has_value 'tweaks.calendar_first_day_of_week'; then - GROCY_DAYWEEK=$(bashio::config 'tweaks.calendar_first_day_of_week') - export GROCY_CALENDAR_FIRST_DAY_OF_WEEK=${GROCY_DAYWEEK} + caldayweek=$(bashio::config 'tweaks.calendar_first_day_of_week') + export GROCY_CALENDAR_FIRST_DAY_OF_WEEK=${caldayweek} fi if bashio::config.false 'tweaks.chores_assignment'; then