mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-27 06:53:25 +01: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
|
||||
|
||||
# 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
|
||||
if [ -f "$f/config.json" ]; then
|
||||
echo "Project $f"
|
||||
@@ -56,10 +56,10 @@ jobs:
|
||||
done
|
||||
|
||||
# Restore folders name
|
||||
for f in */; do
|
||||
if [ -f "${f}oldname" ]; then
|
||||
NAME="$(cat "${f}oldname")"
|
||||
rm "$f"oldname"
|
||||
find -- * -maxdepth 0 -type d | sort -r | while read -r f; do
|
||||
if [ -f "$f/oldname" ]; then
|
||||
NAME="$(cat "$/f/oldname")"
|
||||
rm "$f"/oldname
|
||||
mv "$f" "$NAME"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user