Github bot : script beautyshied

This commit is contained in:
github-actions
2022-08-28 00:17:11 +00:00
parent ac89519f00
commit e1c22bc63d
4 changed files with 16 additions and 16 deletions

View File

@@ -47,7 +47,7 @@ if bashio::config.has_value 'networkdisks'; then
# Clean name of network share
# shellcheck disable=SC2116,SC2001
disk=$(echo $disk | sed "s,/$,,") # Remove / at end of name
disk="${disk//"\040"/ }" #replace \040 with
disk="${disk//"\040"/ }" #replace \040 with
diskname="${disk//\\//}" #replace \ with /
diskname="${diskname##*/}" # Get only last part of the name