mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 18:08:16 +01:00
Update daily_README.yaml
This commit is contained in:
7
.github/workflows/daily_README.yaml
vendored
7
.github/workflows/daily_README.yaml
vendored
@@ -147,13 +147,15 @@ jobs:
|
||||
TOTAL2="$(awk '{SUM+=$2}END{print SUM}' Stats)"
|
||||
TOTAL3="$(awk '{SUM+=$2}END{print SUM}' Stats)"
|
||||
echo "4"
|
||||
|
||||
|
||||
# Make plot
|
||||
|
||||
#apt-get install gnuplot -y
|
||||
#https://www.xmodulo.com/draw-stacked-histogram-gnuplot.html
|
||||
|
||||
# Restore folders name
|
||||
|
||||
|
||||
echo "Restore structure"
|
||||
find -- * -maxdepth 0 -type d | sort -r | while read -r f; do
|
||||
if [ -f "$f/oldname" ]; then
|
||||
NAME="$(cat "$f/oldname")"
|
||||
@@ -164,6 +166,7 @@ jobs:
|
||||
|
||||
# Replace template if change
|
||||
|
||||
echo "Replace template"
|
||||
if [[ "$(stat -c%s "README2.md")" == "$(stat -c%s "README.md")" ]]; then
|
||||
echo "no changes"
|
||||
rm README2.md
|
||||
|
||||
Reference in New Issue
Block a user