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