Github bot : script beautyshied

This commit is contained in:
github-actions
2023-02-05 00:13:14 +00:00
parent e7ec40b3e3
commit 52b86b0273
2 changed files with 6 additions and 6 deletions

View File

@@ -2,9 +2,9 @@
# shellcheck shell=bash
if bashio::config.has_value 'CONFIG_LOCATION'; then
CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')"
# Modify if it is a base directory
if [ -f "$CONFIG_LOCATION" ]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi
CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')"
# Modify if it is a base directory
if [ -f "$CONFIG_LOCATION" ]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi
fi
CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')