[Fedora-packaging] Incorrect suggestion in sysvinit packaging guide?

Michel Alexandre Salim salimma at fedoraproject.org
Sat Jun 2 06:56:19 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The Packaging:SysVInitScript page on the wiki:

http://fedoraproject.org/wiki/Packaging:SysVInitScript#Initscripts_in_addition_to_systemd_unit_files


has the following uninstall trigger example:

%triggerpostun -n packagename-sysvinit -- packagename < 1.0-2
/sbin/chkconfig --add httpd >/dev/null 2>&1 || :

That should probably be "%{_sbindir}/chkconfig --del packagename
> /dev/null 2>&1 || :" ?

i.e. deleting, instead of adding, and not using httpd as the default
example as that might be confusing (and not hard-coding /sbin given
that it's an additional symlink to dereference in F-17+)

Not sure what the procedure is for updating packaging pages so I'm not
making the change myself, just in case.

Thanks,

- -- 
Michel Alexandre Salim
Fedora Project Contributor: http://fedoraproject.org/

Email:  salimma at fedoraproject.org  | GPG key ID: A36A937A
Jabber: hircus at jabber.ccc.de       | IRC: hircus at irc.freenode.net

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPybkSAAoJEEr1VKujapN6bUkH/3wI0G1xLp/leuZnJbuhR8QF
ajVuvrQjIpgRmJQnNmVCAw7Z0MAVYN/TzMUbqKe5thQnqefAJBECpJ3nAAjkoNah
upZqhG+JQooijdMH4GE7Hk32wu8DjdM0QlhZ/oqT6XgYnrO+p899YbY2eMJLNoJK
XVw/EsN6BPAoO3H1PELyFwHq7LkV1htjY2slYrq0Z1ndeEzEUDSaAz1uZt8YkTEt
TX+BL2rgjrRr1QxIeD3FlirAzYULLN6ikD7+3lRiYqZ+JwQXtfcRznOuVkD8VRfi
mepymt1z9Ue2kepl8l42dklzkutcY3+RFOcoRIlyQrDn0WA6+5KdHZYHWjxJn8c=
=biT4
-----END PGP SIGNATURE-----


More information about the packaging mailing list