]> git.pld-linux.org Git - packages/firestarter.git/commitdiff
- use gksudo in /usr/bin/firestarter instead of gnomesu
authorwrobell <wrobell@pld-linux.org>
Wed, 21 Jun 2006 18:47:54 +0000 (18:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- last desktop change which introduced gksudo reverted

Changed files:
    firestarter.spec -> 1.47

firestarter.spec

index 4cc54548f552dbead4217b355ff69d4a60c0f534..92383a4f3416bdfb9885ed045a6a75ce3e95dd59 100644 (file)
@@ -24,7 +24,6 @@ BuildRequires:        pkgconfig
 BuildRequires: sed >= 4.0
 Requires(post,preun):  /sbin/chkconfig
 Requires:      iptables
-Requires:      gksu
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -94,8 +93,8 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/firestarter/outbound/setup
 mv $RPM_BUILD_ROOT%{_bindir}/firestarter $RPM_BUILD_ROOT%{_sbindir}
 
 echo -e "#!/bin/sh
-if [ -x %{_bindir}/gnomesu ] ; then
-       gnomesu %{_sbindir}/firestarter
+if [ -x %{_bindir}/gksudo ] ; then
+       gksudo -g %{_sbindir}/firestarter
 elif [ -x %{_bindir}/kdesu ] ; then
        kdesu %{_sbindir}/firestarter
 else
This page took 0.070269 seconds and 4 git commands to generate.