Compare commits

..

No commits in common. "fa471fdf9f0cd95ff651f1b1311dd4a100226f1e" and "7caf5b168c466a1524f84d28f039b867b245f9ca" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -8,8 +8,7 @@ _show_help=0
if ! [ -f "$_target_file" ] ;
then
echo "notify-updates: cannot access '$_target_file': File not found"
echo "notify-updates: try executing 'pacman-update-count.sh'"
echo "Error - file not found: $_target_file"
exit 1
fi

View File

@ -3,12 +3,6 @@
_updates_available="0"
_target_file="/tmp/pacman-update-count"
_user="ray"
_user_id=$(id -u)
if ! [ "$_user_id" -eq 0 ] ; then
echo "pacman-update-count.sh: insufficient priviliges: must be run as root"
exit 1
fi
pacman -Sy
_query_output=$(pacman -Qu)