mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-27 10:54:14 +02:00
Update daily_README.yaml
This commit is contained in:
6
.github/workflows/daily_README.yaml
vendored
6
.github/workflows/daily_README.yaml
vendored
@@ -136,7 +136,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Make stats
|
# Make stats
|
||||||
|
|
||||||
echo "1"
|
echo "1"
|
||||||
sort -k2,2 -n Stats > tmp && mv tmp Stats
|
sort -k2,2 -n Stats > tmp && mv tmp Stats
|
||||||
echo "2"
|
echo "2"
|
||||||
@@ -147,13 +147,13 @@ 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
|
||||||
|
|
||||||
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")"
|
||||||
|
|||||||
Reference in New Issue
Block a user