[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH rhel5-branch] Gtk package %post script has changed (#659309)



Ray Strode proposed a solution, see
https://bugzilla.redhat.com/show_bug.cgi?id=659309#c14.
Given where we are in the release cycle, I'd prefer this simple
patch.

---
 scripts/upd-instroot |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index a3b9243..8f08ea9 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -1148,7 +1148,7 @@ ModuleFiles=/etc/pango/pango.modules
 EOF
 fi
 
-host=`rpm --nodigest --nosignature -qp --qf "%{POSTIN}\n" $PACKAGEDIR/gtk2*.$ARCH.rpm |grep update-gdk-pixbuf |awk {'print $2;'}`
+host=`rpm --nodigest --nosignature -qp --qf "%{POSTIN}\n" $PACKAGEDIR/gtk2*.$ARCH.rpm |grep update-gdk-pixbuf |awk {'print $3;'}`
 
 case "$host" in
   *linux) canonhost="$host-gnu"
-- 
1.7.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]