mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 21:34:06 +02:00
Update daily_README.yaml
This commit is contained in:
10
.github/workflows/daily_README.yaml
vendored
10
.github/workflows/daily_README.yaml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Populate template
|
# Populate template
|
||||||
find -- * -maxdepth 0 -type d | sort -r | while read f; do
|
find -- * -maxdepth 0 -type d | sort -r | while read -r f; do
|
||||||
# $f is an addon directory
|
# $f is an addon directory
|
||||||
if [ -f "$f/config.json" ]; then
|
if [ -f "$f/config.json" ]; then
|
||||||
echo "Project $f"
|
echo "Project $f"
|
||||||
@@ -56,10 +56,10 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Restore folders name
|
# Restore folders name
|
||||||
for f in */; do
|
find -- * -maxdepth 0 -type d | sort -r | while read -r f; do
|
||||||
if [ -f "${f}oldname" ]; then
|
if [ -f "$f/oldname" ]; then
|
||||||
NAME="$(cat "${f}oldname")"
|
NAME="$(cat "$/f/oldname")"
|
||||||
rm "$f"oldname"
|
rm "$f"/oldname
|
||||||
mv "$f" "$NAME"
|
mv "$f" "$NAME"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user