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

Re: [Pulp-list] Q on pulp package's %scripts



Off hand, I don't see where this is against packaging guidelines but it should be cleaned up. I'll take care of it.

On 08/29/2011 01:02 PM, Cliff Perry wrote:
While watching install I saw in yum output:

   Installing : pulp-consumer0.0.227-1.el6.noarch  24/29
/etc/rc.d/init.d /
/
   Installing : pulp-admin-0.0.227-1.el6.noarch    25/29

This output is ugly, to be polite :)

Any chance you can clean this up? (I'm not sure it would pass Fedora
packing review either). The following page is a good description of how
to do symlinks in rpm spec files:

http://fedoraproject.org/wiki/Packaging:Guidelines#Symlinks

Cliff

[root dhcp77-198 ~]# rpm -q --scripts pulp-consumer
postinstall scriptlet (using /bin/sh):
pushd /etc/rc.d/init.d
if [ "$1" = "1" ]; then
   ln -s goferd pulp-agent
fi
popd

_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list


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