
#190805 buster, used by nm-applet in network-manager-applet pkg.
#ref: https://wiki.archlinux.org/index.php/Desktop_notifications#Standalone

ndFND="$(find usr/lib -type f -name 'notification-daemon' | head -n 1)"
if [ "$ndFND" ];then
 mkdir -p usr/share/dbus-1/services
 echo "[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/${ndFND}" > usr/share/dbus-1/services/org.freedesktop.Notifications.service
fi
