.dotfiles/.local/bin/scripts/update-check
2020-05-08 20:35:40 +02:00

11 lines
152 B
Bash
Executable File

#!/bin/bash
# killall wificheck.sh &> /dev/null
if ping -w 1 archlinux.org &> /dev/null
then
printf "$(checkupdates | wc -l)"
else
echo "  "
fi