mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
devenv
This commit is contained in:
parent
b005cbd806
commit
b7e32390af
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ run() {
|
||||||
|
|
||||||
if [[ ! -e "$DEFAULT_FILES_PATH"/custom-template.sh ]]; then
|
if [[ ! -e "$DEFAULT_FILES_PATH"/custom-template.sh ]]; then
|
||||||
bashio::log.warning "custom-template.sh does not exist."
|
bashio::log.warning "custom-template.sh does not exist."
|
||||||
cp "$DEFAULT_FILES_PATH"/custom-template.sh "$CUSTOM_BASH_SCRIPTS_PATH"
|
cp "$DEFAULT_FILES_PATH"/custom-template.sh "$CUSTOM_BASH_SCRIPTS_PATH"/custom-template.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for script in $CUSTOM_BASH_SCRIPTS_PATH/*.sh; do
|
for script in "$CUSTOM_BASH_SCRIPTS_PATH"/*.sh; do
|
||||||
bashio::log.info "Config script: $script"
|
bashio::log.info "Config script: $script"
|
||||||
chmod +x "$script"
|
chmod +x "$script"
|
||||||
"$CUSTOM_BASH_SCRIPTS_PATH"/"$script"
|
"$CUSTOM_BASH_SCRIPTS_PATH"/"$script"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue