[rdieter@xxxxxxxxxxxx: Re: rpm installation tests / script tests]

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

 



Hello all,

anything holding back an update of the default snippets we
propose for Fedora until a more permanent solution in
rpm/tools is available?

regards,

Florian La Roche




----- Forwarded message from Rex Dieter <rdieter@xxxxxxxxxxxx> -----

From: Rex Dieter <rdieter@xxxxxxxxxxxx>
Subject: Re: rpm installation tests / script tests
To: fedora-maintainers@xxxxxxxxxx
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
> piklab-0:0.14.2-2.fc7.i386
> /var/tmp/rpm-tmp.TpqGGv: line 2: /usr/bin/gtk-update-icon-cache: No such
> file or directory
> 
> but
>
http://fedoraproject.org/wiki/Packaging/ScriptletSnippets?action=show&redirect=ScriptletSnippets#head-7103f6c38d1b5735e8477bdd569ad73ea2c49bda
> 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 ...
or 
2. redirect output (using something like >& /dev/null 
(I use the latter mostly).

-- Rex

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

----- End forwarded message -----

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux