sys-apps/lm_sensors: Inline PN as appropriate before renaming
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 08:30:56 +0000 (10:30 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 12 Sep 2019 14:28:28 +0000 (16:28 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-apps/lm_sensors/lm_sensors-3.5.0.ebuild
sys-apps/lm_sensors/lm_sensors-3.5.0_p20190505.ebuild

index f5c4e1a4e7f1101e6993be7e86594d6600c0a056..5a11eb1e7cf862405b1a36a29e931091468d10ad 100644 (file)
@@ -146,8 +146,8 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
-       newinitd "${FILESDIR}"/${PN}.initd ${PN}
-       newconfd "${FILESDIR}"/${PN}.confd ${PN}
+       newinitd "${FILESDIR}"/lm_sensors.initd lm_sensors
+       newconfd "${FILESDIR}"/lm_sensors.confd lm_sensors
        systemd_dounit prog/init/lm_sensors.service
 
        newinitd "${FILESDIR}"/fancontrol.initd fancontrol
@@ -166,7 +166,7 @@ multilib_src_install_all() {
        dodoc doc/developers/applications
 
        if use contrib; then
-               insinto /usr/share/${PN}
+               insinto /usr/share/lm_sensors
                doins -r "${S}"/configs
        fi
 }
@@ -208,7 +208,7 @@ pkg_postinst() {
                elog "Please run \`/usr/sbin/sensors-detect' in order to setup"
                elog "\"/etc/modules-load.d/lm_sensors.conf\"."
                elog ""
-               elog "You might want to add ${PN} to your default runlevel to make"
+               elog "You might want to add lm_sensors to your default runlevel to make"
                elog "sure the sensors get initialized on the next startup."
                elog ""
                elog "Be warned, the probing of hardware in your system performed by"
index c63ff098149b01e7edc8cec7a3a4c917388180fc..f84df9880d5c59cd864290c0552e967d95e10cd7 100644 (file)
@@ -146,8 +146,8 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
-       newinitd "${FILESDIR}"/${PN}.initd ${PN}
-       newconfd "${FILESDIR}"/${PN}.confd ${PN}
+       newinitd "${FILESDIR}"/lm_sensors.initd lm_sensors
+       newconfd "${FILESDIR}"/lm_sensors.confd lm_sensors
        systemd_dounit prog/init/lm_sensors.service
 
        newinitd "${FILESDIR}"/fancontrol.initd fancontrol
@@ -166,7 +166,7 @@ multilib_src_install_all() {
        dodoc doc/developers/applications
 
        if use contrib; then
-               insinto /usr/share/${PN}
+               insinto /usr/share/lm_sensors
                doins -r "${S}"/configs
        fi
 }
@@ -208,7 +208,7 @@ pkg_postinst() {
                elog "Please run \`/usr/sbin/sensors-detect' in order to setup"
                elog "\"/etc/modules-load.d/lm_sensors.conf\"."
                elog ""
-               elog "You might want to add ${PN} to your default runlevel to make"
+               elog "You might want to add lm_sensors to your default runlevel to make"
                elog "sure the sensors get initialized on the next startup."
                elog ""
                elog "Be warned, the probing of hardware in your system performed by"