Compare commits
No commits in common. "af023a6fc280da03bd595f7f192157f21c6682ab" and "381ab705c4e9f79cbbc3bc2c990409cf90f2ba3d" have entirely different histories.
af023a6fc2
...
381ab705c4
2 changed files with 2 additions and 3 deletions
|
@ -45,7 +45,6 @@
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
// every 7 hours
|
// every 7 hours
|
||||||
"interval": 25200,
|
"interval": 25200,
|
||||||
"on-click": "",
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{% for iface in host.wireless %}
|
{% for iface in host.wireless %}
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
info="$(xbps-install -Mun)"
|
info="$(xbps-install -Mun)"
|
||||||
[ -z $info ] && exit
|
|
||||||
|
|
||||||
PKG_COUNT="$(echo -n "$info" | wc -l)"
|
PKG_COUNT="$(echo "$info" | wc -l)"
|
||||||
|
[ $PKG_COUNT -eq 0 ] && exit
|
||||||
|
|
||||||
DL_SIZE="$(echo "$info" | awk '{s+=$6}END{print s}' | numfmt --to=iec-i)B"
|
DL_SIZE="$(echo "$info" | awk '{s+=$6}END{print s}' | numfmt --to=iec-i)B"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue