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