diff --git a/.config/qtile/checkUpdates.sh b/.config/qtile/checkUpdates.sh index eb792f0..44ab07d 100755 --- a/.config/qtile/checkUpdates.sh +++ b/.config/qtile/checkUpdates.sh @@ -5,16 +5,14 @@ # 0 * * * * root /usr/bin/pacman -Sy # 30 * * * * root /usr/bin/pacman -Sy if [ -f /usr/bin/pacman ] ; then - num_packages=$(pacman -Qu | wc -l) - echo "${num_packages}" + pacman -Qu # Check updates on Ubuntu/Debian/Devuan # Note: Create cron on /etc/cron.d/checkupdates with the following lines: # 0 * * * * root /usr/bin/aptitude update # 30 * * * * root /usr/bin/aptitude update elif [ -f /usr/bin/aptitude ] ; then - num_packages=$(aptitude search "~U" | wc -l) - echo "${num_packages}" + aptitude search "~U" # Disable for other distros else