Compare commits
No commits in common. "59bad72913a248aaf2b9dabbb47985d16a532ef5" and "f6376837232f0648dbc1e0255ec070473b359f93" have entirely different histories.
59bad72913
...
f637683723
11
README.md
11
README.md
|
@ -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
|
|
||||||
```
|
|
|
@ -4,8 +4,8 @@ _updates_available="0"
|
||||||
_target_file="/tmp/pacman-update-count"
|
_target_file="/tmp/pacman-update-count"
|
||||||
_user="ray"
|
_user="ray"
|
||||||
|
|
||||||
pacman -Sy
|
sudo pacman -Sy
|
||||||
_query_output=$(pacman -Qu)
|
_query_output=$(sudo pacman -Qu)
|
||||||
|
|
||||||
# TODO - get update count from above
|
# TODO - get update count from above
|
||||||
echo "$_query_output"
|
echo "$_query_output"
|
||||||
|
|
Loading…
Reference in New Issue