summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-11 10:30:56 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-12 16:28:28 +0200
commitd4c0fbc4e6b08b45a69204fc57663c6e2cd28767 (patch)
treeb232c98c63b052ca6b8decbcd6e6fcf587079aa2
parentapp-text/docbook-xml-simple-dtd: Use slotmove to ease transition (diff)
downloadgentoo-d4c0fbc4e6b08b45a69204fc57663c6e2cd28767.tar.gz
gentoo-d4c0fbc4e6b08b45a69204fc57663c6e2cd28767.tar.bz2
gentoo-d4c0fbc4e6b08b45a69204fc57663c6e2cd28767.zip
sys-apps/lm_sensors: Inline PN as appropriate before renaming
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sys-apps/lm_sensors/lm_sensors-3.5.0.ebuild8
-rw-r--r--sys-apps/lm_sensors/lm_sensors-3.5.0_p20190505.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys-apps/lm_sensors/lm_sensors-3.5.0.ebuild b/sys-apps/lm_sensors/lm_sensors-3.5.0.ebuild
index f5c4e1a4e7f1..5a11eb1e7cf8 100644
--- a/sys-apps/lm_sensors/lm_sensors-3.5.0.ebuild
+++ b/sys-apps/lm_sensors/lm_sensors-3.5.0.ebuild
@@ -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"
diff --git a/sys-apps/lm_sensors/lm_sensors-3.5.0_p20190505.ebuild b/sys-apps/lm_sensors/lm_sensors-3.5.0_p20190505.ebuild
index c63ff098149b..f84df9880d5c 100644
--- a/sys-apps/lm_sensors/lm_sensors-3.5.0_p20190505.ebuild
+++ b/sys-apps/lm_sensors/lm_sensors-3.5.0_p20190505.ebuild
@@ -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"