diff --git a/README.md b/README.md deleted file mode 100644 index 11c7aa9..0000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Notifies of available updates. - -`pacman-update-count.sh` -- run as root to update available count. - -`notify-updates` -- run to notify of available updates (gets value stored by `pacman=update-count.sh`). - -```sh -# list options: - -notify-updates --help -``` diff --git a/pacman-update-count.sh b/pacman-update-count.sh index b3eb8f2..9e6e013 100755 --- a/pacman-update-count.sh +++ b/pacman-update-count.sh @@ -4,8 +4,8 @@ _updates_available="0" _target_file="/tmp/pacman-update-count" _user="ray" -pacman -Sy -_query_output=$(pacman -Qu) +sudo pacman -Sy +_query_output=$(sudo pacman -Qu) # TODO - get update count from above echo "$_query_output"