mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 09:35:58 +02: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)"
|
TOTAL2="$(awk '{SUM+=$2}END{print SUM}' Stats)"
|
||||||
TOTAL3="$(awk '{SUM+=$2}END{print SUM}' Stats)"
|
TOTAL3="$(awk '{SUM+=$2}END{print SUM}' Stats)"
|
||||||
echo "4"
|
echo "4"
|
||||||
|
|
||||||
# Make plot
|
# Make plot
|
||||||
|
|
||||||
#apt-get install gnuplot -y
|
#apt-get install gnuplot -y
|
||||||
#https://www.xmodulo.com/draw-stacked-histogram-gnuplot.html
|
#https://www.xmodulo.com/draw-stacked-histogram-gnuplot.html
|
||||||
|
|
||||||
# Restore folders name
|
# Restore folders name
|
||||||
|
|
||||||
|
echo "Restore structure"
|
||||||
find -- * -maxdepth 0 -type d | sort -r | while read -r f; 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")"
|
||||||
@@ -164,6 +166,7 @@ jobs:
|
|||||||
|
|
||||||
# Replace template if change
|
# Replace template if change
|
||||||
|
|
||||||
|
echo "Replace template"
|
||||||
if [[ "$(stat -c%s "README2.md")" == "$(stat -c%s "README.md")" ]]; then
|
if [[ "$(stat -c%s "README2.md")" == "$(stat -c%s "README.md")" ]]; then
|
||||||
echo "no changes"
|
echo "no changes"
|
||||||
rm README2.md
|
rm README2.md
|
||||||
|
|||||||
Reference in New Issue
Block a user