From cra at WPI.EDU Fri Jun 5 07:21:46 2015 Content-Type: multipart/mixed; boundary="===============0083379244809394704==" MIME-Version: 1.0 From: Chuck Anderson To: packaging at lists.fedoraproject.org Subject: [Fedora-packaging] initscripts in spec file scriptlets Date: Thu, 11 Jun 2009 18:14:43 -0400 Message-ID: <20090611221443.GK21110@angus.ind.WPI.EDU> --===============0083379244809394704== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable http://fedoraproject.org/wiki/Packaging/SysVInitScript has an example of how to write %post/%preun scriptlets that install = init scripts. The problem is, the %post one will overwrite the = /etc/rc?.d/[KS] symlinks upon every package upgrade: %post # This adds the proper /etc/rc*.d links for the script /sbin/chkconfig --add