test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.271"
|
version: "0.1.272"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/command/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
set -x
|
#set -x
|
||||||
|
|
||||||
#test=($(bashio::config 'test'))
|
#test=($(bashio::config 'test'))
|
||||||
#test+=('one', 'two')
|
#test+=('one', 'two')
|
||||||
@@ -26,7 +26,8 @@ for device in "${devices[@]}"; do
|
|||||||
gurka=$(echo $options | jq --arg device "$device" '.usbdevices[] | select(.device == ($device))')
|
gurka=$(echo $options | jq --arg device "$device" '.usbdevices[] | select(.device == ($device))')
|
||||||
bashio::log.info "Options: ${gurka}"
|
bashio::log.info "Options: ${gurka}"
|
||||||
|
|
||||||
if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then
|
#if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then
|
||||||
|
if [ -z $(echo $options | jq --arg device "$device" '.usbdevices[] | select(.device == ($device))') ]; then
|
||||||
|
|
||||||
bashio::log.info "Adding to config: ${device}"
|
bashio::log.info "Adding to config: ${device}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user