the file doesnt have 99 lines.... ffs

This commit is contained in:
Richard Sperry 2025-04-14 21:50:32 -07:00
parent 9235d7dc13
commit a0795cd244
2 changed files with 2 additions and 1 deletions

View file

@ -66,6 +66,7 @@ COPY rootfs /
RUN chown -R root:root /root
RUN chown -R root:root /etc/s6-overlay/s6-rc.d/
RUN chmod 755 -R /etc/s6-overlay/s6-rc.d/
# Install Oh My ZSH
# hadolint ignore=SC2086
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \

View file

@ -28,7 +28,7 @@ readonly DEFAULT_CONFIG_PATH="/config/addons_config/"
readonly CODE_SERVER_CONFIG="/root/.config/code-server/config.yaml"
# Ensure config path exists
if bashio::config.has_value "config_path" ; then
if bashio::config.has_value "config_path"; then
config_path=$(bashio::config 'config_path')
if ! bashio::fs.directory_exists "${config_path}"; then
bashio::exit.nok "Configured config path does not exists"