rpm installation tests / script tests
wart at kobold.org
Wed Jul 11 15:05:50 UTC 2007
Rex Dieter wrote:
> Florian La Roche wrote:
>> anything holding back an update of the default snippets we
>> propose for Fedora until a more permanent solution in
>> rpm/tools is available?
> The Snippets wiki has been updated, after getting feedback on the
> fedora-desktop list.
What about adding 'Requires(post): coreutils' to ensure that the 'touch'
executable is present? Or adding "|| :" at the end of the touch
command to avoid errors from being printed if it is not?
>> ----- Forwarded message from Rex Dieter <rdieter at math.unl.edu> -----
>> From: Rex Dieter <rdieter at math.unl.edu>
>> Subject: Re: rpm installation tests / script tests
>> To: fedora-maintainers at redhat.com
>> Date: Tue, 10 Jul 2007 06:26:41 -0500
>> Alain PORTAL wrote:
>>> This is the same error for the 3 packages
>>> ERROR: Output running post uninstall script for package
>>> /var/tmp/rpm-tmp.TpqGGv: line 2: /usr/bin/gtk-update-icon-cache: No such
>>> file or directory
>>> said "Note that no dependencies should be added for this."
>>> So, what we have to do?
>> Hrm, looks like an oversight in the guidelines... should probably wrap the
>> call in something like:
>> 1. if [ -x /usr/bin/gtk-update-icon-cache ]; then ...
>> 2. redirect output (using something like >& /dev/null
>> (I use the latter mostly).
>> -- Rex
> Fedora-maintainers mailing list
> Fedora-maintainers at redhat.com
More information about the Fedora-maintainers