blob: 992fc379594c5f78da0c8fd84b0b5bfb4375cdf9 (
plain) (
tree)
|
|
#!/bin/sh
icon=
package_count=$(pkg upgrade -n | tail -1 | cut -s -d':' -f2)
[ $package_count -gt 0 ] && printf "$icon%s\n" $package_count && notify-send "$package_count package upgrade(s) available"
|