Compare commits
	
		
			No commits in common. "7caf5b168c466a1524f84d28f039b867b245f9ca" and "12b5d64bfb15bb32bea2f346f77b86c71674e700" have entirely different histories.
		
	
	
		
			7caf5b168c
			...
			12b5d64bfb
		
	
		|  | @ -2,7 +2,7 @@ Notifies of available updates. | ||||||
| 
 | 
 | ||||||
| `pacman-update-count.sh` -- run as root to update available count. | `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`). | `notify-updates` -- run to notify of available updates (gets value stored by `update-count.sh`). | ||||||
| 
 | 
 | ||||||
| ```sh | ```sh | ||||||
| # list options: | # list options: | ||||||
|  |  | ||||||
|  | @ -16,6 +16,5 @@ if ! [ "$_updates_available" -eq "$_updates_available" ] 2> /dev/null ; then | ||||||
|   _updates_available="-1" |   _updates_available="-1" | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| echo "Adding $_updates_available available updates to $_target_file" |  | ||||||
| echo "$_updates_available" > "$_target_file" | echo "$_updates_available" > "$_target_file" | ||||||
| chown "$_user": "$_target_file" | chown "$_user": "$_target_file" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue