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
f10bfe60cc
commit
ff9a3c5960
2 changed files with 2 additions and 3 deletions
|
@ -19,8 +19,7 @@ uart: true
|
||||||
hassio_api: true
|
hassio_api: true
|
||||||
hassio_role: manager
|
hassio_role: manager
|
||||||
homeassistant_api: true
|
homeassistant_api: true
|
||||||
privileged:
|
full_access: true
|
||||||
- SYS_ADMIN
|
|
||||||
map:
|
map:
|
||||||
- backup:rw
|
- backup:rw
|
||||||
- data:rw
|
- data:rw
|
||||||
|
|
|
@ -101,7 +101,7 @@ setup_code_workspace() {
|
||||||
# custom tasks paths file
|
# custom tasks paths file
|
||||||
CUSTOM_BASH_SCRIPTS_PATH_SYMLINK="$CUSTOM_BASH_SCRIPTS_PATH/PATHS.sh"
|
CUSTOM_BASH_SCRIPTS_PATH_SYMLINK="$CUSTOM_BASH_SCRIPTS_PATH/PATHS.sh"
|
||||||
if [ ! -e "$CUSTOM_BASH_SCRIPTS_PATH_SYMLINK" ]; then
|
if [ ! -e "$CUSTOM_BASH_SCRIPTS_PATH_SYMLINK" ]; then
|
||||||
bashio::log.warning "CUSTOM_BASH_SCRIPTS_PATH_ does not exist. Creating..."
|
bashio::log.warning "CUSTOM_BASH_SCRIPTS_PATH does not exist. Creating..."
|
||||||
ln -sn "/etc/s6-overlay/s6-rc.d/paths.sh" "$CUSTOM_BASH_SCRIPTS_PATH_SYMLINK" ||
|
ln -sn "/etc/s6-overlay/s6-rc.d/paths.sh" "$CUSTOM_BASH_SCRIPTS_PATH_SYMLINK" ||
|
||||||
bashio::log.warning "Failed linking PATHS.sh"
|
bashio::log.warning "Failed linking PATHS.sh"
|
||||||
elif [ ! -L "$CUSTOM_BASH_SCRIPTS_PATH_SYMLINK" ]; then
|
elif [ ! -L "$CUSTOM_BASH_SCRIPTS_PATH_SYMLINK" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue