mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-27 09:46:04 +02:00
Update weekly_stats.yaml
This commit is contained in:
2
.github/workflows/weekly_stats.yaml
vendored
2
.github/workflows/weekly_stats.yaml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
echo "$SLUG $DOWNLOADS $COUNT1 $COUNT2 $COUNT3" >> "$file"2
|
echo "$SLUG $DOWNLOADS $COUNT1 $COUNT2 $COUNT3" >> "$file"2
|
||||||
# Create line if not existing
|
# Create line if not existing
|
||||||
if ! grep -q "$SLUG" "$file"; then
|
if ! grep -q "$SLUG" "$file"; then
|
||||||
sed -ie "\$a$SLUG" "$file"
|
sed -i "\$a$SLUG" "$file"
|
||||||
# shellcheck disable=SC2046
|
# shellcheck disable=SC2046
|
||||||
for i in $(seq $(head -n 1 $file | tr -cd ' \t' | wc -c )); do
|
for i in $(seq $(head -n 1 $file | tr -cd ' \t' | wc -c )); do
|
||||||
echo "$i"
|
echo "$i"
|
||||||
|
|||||||
Reference in New Issue
Block a user