2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

make message about notify-send package cross-distro compatible

References: https://bugzilla.opensuse.org/show_bug.cgi?id=1100779
This commit is contained in:
Christian Boltz
2018-07-12 22:00:41 +02:00
parent aa42e33860
commit 44ee1d5090

View File

@@ -157,7 +157,8 @@ if (-s $conf) {
}
if ($opt_p) {
-x "$notify_exe" or _error("Could not find '$notify_exe'. Please install libnotify-bin. Aborting");
# notify-send is packaged in libnotify-bin on Debian/Ubuntu, libnotify-tools on openSUSE
-x "$notify_exe" or _error("Could not find '$notify_exe'. Please install it (package libnotify-bin or libnotify-tools). Aborting");
# we need correct values for $HOME and $DISPLAY environment variables,
# otherwise $notify_exe won't be able to connect to DBUS to display the