mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Update helper_stats_graphs.yaml
This commit is contained in:
3
.github/workflows/helper_stats_graphs.yaml
vendored
3
.github/workflows/helper_stats_graphs.yaml
vendored
@@ -158,8 +158,7 @@ jobs:
|
|||||||
echo "$TITLE found in $FOLDER"
|
echo "$TITLE found in $FOLDER"
|
||||||
# If non null
|
# If non null
|
||||||
if [[ "${#FOLDER}" -gt 2 ]]; then
|
if [[ "${#FOLDER}" -gt 2 ]]; then
|
||||||
cp Stats3 StatsTmp
|
sed -n "/Date /p" Stats3 > "$FOLDER"/StatsTmp
|
||||||
sed -n "/Date/p" Stats3 > "$FOLDER"/StatsTmp
|
|
||||||
sed -n "/$TITLE /p" Stats3 >> "$FOLDER"/StatsTmp
|
sed -n "/$TITLE /p" Stats3 >> "$FOLDER"/StatsTmp
|
||||||
# Go in folder
|
# Go in folder
|
||||||
cd "$FOLDER" || true
|
cd "$FOLDER" || true
|
||||||
|
|||||||
Reference in New Issue
Block a user