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
eb51b0d1ec
commit
199734fe5a
1 changed files with 9 additions and 6 deletions
|
@ -23,12 +23,15 @@ run() {
|
||||||
cp "$DEFAULT_FILES_PATH"/custom-template.sh "$CUSTOM_BASH_SCRIPTS_PATH"/custom-template.sh
|
cp "$DEFAULT_FILES_PATH"/custom-template.sh "$CUSTOM_BASH_SCRIPTS_PATH"/custom-template.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh
|
if [ "$(ls -A "$CUSTOM_BASH_SCRIPTS_PATH")" ]; then
|
||||||
do
|
for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh; do
|
||||||
echo "Config script: $script"
|
echo "Config script: $script"
|
||||||
chmod +x "$script"
|
chmod +x "$script"
|
||||||
"$script"
|
"$script"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
run
|
run
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue