Bug 672286 - [PATCH] Don't run gio-querymodules* in %postun if it no longer exists
Summary: [PATCH] Don't run gio-querymodules* in %postun if it no longer exists
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-24 17:50 UTC by Ville Skyttä
Modified: 2011-01-24 18:29 UTC (History)
1 user (show)

Fixed In Version: 2.27.92-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-24 18:29:53 UTC
Type: ---


Attachments (Terms of Use)
Don't run gio-querymodules* in %postun if it no longer exists (1.19 KB, patch)
2011-01-24 17:50 UTC, Ville Skyttä
no flags Details | Diff

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...").


Note You need to log in before you can comment on or make changes to this bug.