From 6e058ef03a9a241b741111bd7f7442dc11c27678f4013b2dcacab88ea778bcfe Mon Sep 17 00:00:00 2001 From: Robert Frohl Date: Mon, 24 Jun 2024 13:23:40 +0000 Subject: [PATCH] Accepting request 1181773 from home:seijikun:branches:network:utilities Fix Wireshark Super User Mode starter OBS-URL: https://build.opensuse.org/request/show/1181773 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=437 --- wireshark.changes | 5 +++++ wireshark.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wireshark.changes b/wireshark.changes index c4be79e..4c9e6eb 100644 --- a/wireshark.changes +++ b/wireshark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 19 12:34:54 UTC 2024 - Markus Ebner + +- Fix Wireshark Super User Mode starter + ------------------------------------------------------------------- Wed May 15 19:55:19 UTC 2024 - Andreas Stieger diff --git a/wireshark.spec b/wireshark.spec index de0058a..ebce02f 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -216,7 +216,7 @@ install -d -m 0755 %{buildroot}%{_mandir}/man1/ # desktop file cp resources/freedesktop/%{org_name}.desktop %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop sed -i -e 's|Name=Wireshark|Name=Wireshark - Super User Mode|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop -sed -i -e 's|Exec=wireshark %{f}|Exec=xdg-su -c wireshark %{f}|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop +sed -i -e 's|^Exec=wireshark|Exec=xdg-su -c wireshark|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop %suse_update_desktop_file %{org_name} %suse_update_desktop_file %{org_name}-su