mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-27 01:36:03 +02:00
Merge pull request #2600 from alexbelgium/copilot/fix-move-netalertx-folder nobuild
Fix daily_README workflow moving netalertx into netalertx_fa
This commit is contained in:
2
.github/workflows/daily_README.yaml
vendored
2
.github/workflows/daily_README.yaml
vendored
@@ -87,7 +87,7 @@ jobs:
|
|||||||
IFS='|' read -r CONFIG TYPE <<<"$(get_config "$f")"
|
IFS='|' read -r CONFIG TYPE <<<"$(get_config "$f")"
|
||||||
if [ -n "$CONFIG" ]; then
|
if [ -n "$CONFIG" ]; then
|
||||||
NAME="$(get_raw '.name' "$TYPE" "$CONFIG")"
|
NAME="$(get_raw '.name' "$TYPE" "$CONFIG")"
|
||||||
if [ -n "${NAME:-}" ] && [ "$f" != "$NAME" ]; then
|
if [ -n "${NAME:-}" ] && [ "$f" != "$NAME" ] && [ ! -e "$NAME" ]; then
|
||||||
echo "$f" > "$f/oldname"
|
echo "$f" > "$f/oldname"
|
||||||
mv "$f" "$NAME"
|
mv "$f" "$NAME"
|
||||||
fi
|
fi
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1 +0,0 @@
|
|||||||
netalertx
|
|
||||||
Reference in New Issue
Block a user