Bug 672286

Summary: [PATCH] Don't run gio-querymodules* in %postun if it no longer exists
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: glib2Assignee: Matthias Clasen <mclasen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: mclasen
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.27.92-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-24 18:29:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Don't run gio-querymodules* in %postun if it no longer exists none

Description Ville Skyttä 2011-01-24 17:50:50 UTC
Created attachment 475002 [details]
Don't run gio-querymodules* in %postun if it no longer exists

gio-querymodules* may be gone at %postun time which causes an error message when the %postun script invokes it.  Untested fix attached.

Comment 1 Matthias Clasen 2011-01-24 18:05:50 UTC
could just do the common ||: I guess ?
either way, feel free to push and build, otherwise I'll try to remember for the next glib release

Comment 2 Ville Skyttä 2011-01-24 18:29:53 UTC
Sure, that wouldn't hurt (plus 2>/dev/null), but I wanted the patch to do one thing only.  Fixed patch pushed and building (the original tested for "! -x gio...", should be "! -x %{_bindir}/gio...").