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

Cliff Perry cperry at redhat.com
Mon Aug 29 18:02:06 UTC 2011

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:



[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

More information about the Pulp-list mailing list