summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Briza <mbriza@redhat.com>2016-04-11 16:56:08 +0200
committerMartin Briza <mbriza@redhat.com>2016-04-11 16:56:31 +0200
commitf02223c7698591e8d51b312e94288fe961ec8b75 (patch)
tree8abb7506e4584f4c7a02c689185dd0164a9a18c8
parent80ed160a6272df4f0eb63ce070307eaeb086ea9b (diff)
Move to /usr/bin3.92.0
-rw-r--r--liveusb-creator.spec4
-rw-r--r--org.fedoraproject.pkexec.run-liveusb-creator.policy2
2 files changed, 1 insertions, 5 deletions
diff --git a/liveusb-creator.spec b/liveusb-creator.spec
index f38f945..07ec6b0 100644
--- a/liveusb-creator.spec
+++ b/liveusb-creator.spec
@@ -58,10 +58,6 @@ rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__rm} -r liveusb/urlgrabber
-# program needs root, move to sbin
-mkdir -p %{buildroot}%{_sbindir}
-mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
-
# polkit stuff
mkdir -p %{buildroot}%{_datadir}/polkit-1/actions
%{__install} -p -m644 \
diff --git a/org.fedoraproject.pkexec.run-liveusb-creator.policy b/org.fedoraproject.pkexec.run-liveusb-creator.policy
index 4796a86..2005193 100644
--- a/org.fedoraproject.pkexec.run-liveusb-creator.policy
+++ b/org.fedoraproject.pkexec.run-liveusb-creator.policy
@@ -12,7 +12,7 @@
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/liveusb-creator</annotate>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/liveusb-creator</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>