my-scripts/count-updates

4 lines
82 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
UPDATES=$(checkupdates | wc -l)
echo "$UPDATES" > ~/.cache/update_count