From b005cbd80672608a5593b1058a07e44c5ddb822c Mon Sep 17 00:00:00 2001 From: Richard Sperry Date: Wed, 16 Apr 2025 18:53:24 -0700 Subject: [PATCH] devenv --- vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run index 11291c4..7e8e920 100644 --- a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run +++ b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run @@ -12,12 +12,13 @@ readonly DEFAULT_FILES_PATH="/var/lib/code-server/defaults" run() { if [ ! -d "$CUSTOM_BASH_SCRIPTS_PATH" ]; then - bashio::log.warning "Config path did not exist, creating $CUSTOM_BASH_SCRIPTS_PATH" + bashio::log.warning "CUSTOM_BASH_SCRIPTS_PATH path did not exist, creating $CUSTOM_BASH_SCRIPTS_PATH" mkdir -p "$CUSTOM_BASH_SCRIPTS_PATH" || bashio::exit.nok "Could not create persistent storage folder." fi if [[ ! -e "$DEFAULT_FILES_PATH"/custom-template.sh ]]; then + bashio::log.warning "custom-template.sh does not exist." cp "$DEFAULT_FILES_PATH"/custom-template.sh "$CUSTOM_BASH_SCRIPTS_PATH" fi