Compare commits
2 Commits
f637683723
...
59bad72913
Author | SHA1 | Date |
---|---|---|
ray | 59bad72913 | |
ray | 6e1b11fbf9 |
|
@ -0,0 +1,11 @@
|
|||
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"
|
||||
_user="ray"
|
||||
|
||||
sudo pacman -Sy
|
||||
_query_output=$(sudo pacman -Qu)
|
||||
pacman -Sy
|
||||
_query_output=$(pacman -Qu)
|
||||
|
||||
# TODO - get update count from above
|
||||
echo "$_query_output"
|
||||
|
|
Loading…
Reference in New Issue