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

Jeff Ortel jortel at redhat.com
Mon Aug 29 19:49:10 UTC 2011


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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list