Compare commits

..

No commits in common. "59bad72913a248aaf2b9dabbb47985d16a532ef5" and "f6376837232f0648dbc1e0255ec070473b359f93" have entirely different histories.

2 changed files with 2 additions and 13 deletions

View File

@ -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
```

View File

@ -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"