Blob Blame Raw
From 801b3ec7f6e8c4f932796786e5dd8fa8a72817b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miroslav=20Such=C3=BD?= <msuchy@redhat.com>
Date: Wed, 10 Jan 2018 09:10:59 +0100
Subject: [PATCH 14/22] use /usr/sbin/

everything rhel7+ has been moved to /usr
---
 libreport.spec.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libreport.spec.in b/libreport.spec.in
index bccaa78c..aceffa83 100644
--- a/libreport.spec.in
+++ b/libreport.spec.in
@@ -413,16 +413,16 @@ make check|| {
 }
 
 %post gtk
-/sbin/ldconfig
+/usr/sbin/ldconfig
 # update icon cache
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
-%post -p /sbin/ldconfig
+%post -p /usr/sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -p /usr/sbin/ldconfig
 
 %postun gtk
-/sbin/ldconfig
+/usr/sbin/ldconfig
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
@@ -432,10 +432,10 @@ fi
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
-%post web -p /sbin/ldconfig
+%post web -p /usr/sbin/ldconfig
 
 
-%postun web -p /sbin/ldconfig
+%postun web -p /usr/sbin/ldconfig
 
 %files -f %{name}.lang
 %doc README.md
-- 
2.14.3