From 5e5ec60b8199133dc93c4ecee9677b37e4cce101 Mon Sep 17 00:00:00 2001 From: Nathan Clark Date: Mon, 7 Feb 2022 23:07:41 -0500 Subject: [PATCH] Fixed issue with how the boolean flags were set to 0 which caused errors in Grocy --- grocy/rootfs/etc/services.d/php-fpm/run | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/grocy/rootfs/etc/services.d/php-fpm/run b/grocy/rootfs/etc/services.d/php-fpm/run index 4d6ff04..01afcea 100644 --- a/grocy/rootfs/etc/services.d/php-fpm/run +++ b/grocy/rootfs/etc/services.d/php-fpm/run @@ -12,35 +12,35 @@ export GROCY_ENTRY_PAGE bashio::log.info "Starting PHP-FPM..." if bashio::config.false 'features.batteries'; then - export GROCY_FEATURE_FLAG_BATTERIES=0 + export GROCY_FEATURE_FLAG_BATTERIES=false fi if bashio::config.false 'features.calendar'; then - export GROCY_FEATURE_FLAG_CALENDAR=0 + export GROCY_FEATURE_FLAG_CALENDAR=false fi if bashio::config.false 'features.chores'; then - export GROCY_FEATURE_FLAG_CHORES=0 + export GROCY_FEATURE_FLAG_CHORES=false fi if bashio::config.false 'features.equipment'; then - export GROCY_FEATURE_FLAG_EQUIPMENT=0 + export GROCY_FEATURE_FLAG_EQUIPMENT=false fi if bashio::config.false 'features.recipes'; then - export GROCY_FEATURE_FLAG_RECIPES=0 + export GROCY_FEATURE_FLAG_RECIPES=false fi if bashio::config.false 'features.shoppinglist'; then - export GROCY_FEATURE_FLAG_SHOPPINGLIST=0 + export GROCY_FEATURE_FLAG_SHOPPINGLIST=false fi if bashio::config.false 'features.stock'; then - export GROCY_FEATURE_FLAG_STOCK=0 + export GROCY_FEATURE_FLAG_STOCK=false fi if bashio::config.false 'features.tasks'; then - export GROCY_FEATURE_FLAG_TASKS=0 + export GROCY_FEATURE_FLAG_TASKS=false fi if bashio::config.has_value 'tweaks.calendar_first_day_of_week'; then @@ -49,7 +49,7 @@ if bashio::config.has_value 'tweaks.calendar_first_day_of_week'; then fi if bashio::config.false 'tweaks.chores_assignment'; then - export GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS=0 + export GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS=false fi if bashio::config.has_value 'tweaks.meal_plan_first_day_of_week'; then @@ -58,31 +58,31 @@ if bashio::config.has_value 'tweaks.meal_plan_first_day_of_week'; then fi if bashio::config.false 'tweaks.multiple_shopping_lists'; then - export GROCY_FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS=0 + export GROCY_FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS=false fi if bashio::config.false 'tweaks.stock_best_before_date_tracking'; then - export GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING=0 + export GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING=false fi if bashio::config.false 'tweaks.stock_location_tracking'; then - export GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING=0 + export GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING=false fi if bashio::config.false 'tweaks.stock_price_tracking'; then - export GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING=0 + export GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING=false fi if bashio::config.false 'tweaks.stock_product_freezing'; then - export GROCY_FEATURE_FLAG_STOCK_PRODUCT_FREEZING=0 + export GROCY_FEATURE_FLAG_STOCK_PRODUCT_FREEZING=false fi if bashio::config.false 'tweaks.stock_product_opened_tracking'; then - export GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING=0 + export GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING=false fi if bashio::config.false 'tweaks.stock_count_opened_products_against_minimum_stock_amount'; then - export GROCY_FEATURE_SETTING_STOCK_COUNT_OPENED_PRODUCTS_AGAINST_MINIMUM_STOCK_AMOUNT=0 + export GROCY_FEATURE_SETTING_STOCK_COUNT_OPENED_PRODUCTS_AGAINST_MINIMUM_STOCK_AMOUNT=false fi GROCY_CULTURE=$(bashio::config "culture")