dotfiles/bin/updates.sh

10 lines
130 B
Bash
Executable File

#!/bin/sh
updates_arch=$(checkupdates | wc -l)
if [ "$updates_arch" -gt 0 ]; then
echo " $updates_arch"
else
echo ""
fi