diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
commit | 7218e1b46bceac05841e90472501742d905fb3fc (patch) | |
tree | 56fae051db521b8fce8014cbc8b11484885b14b3 /sys-power/apcupsd/apcupsd-3.14.13.ebuild | |
parent | 6d691ad5b6239929063441bbd14c489e92e7396e (diff) |
gentoo resync : 12.03.2021
Diffstat (limited to 'sys-power/apcupsd/apcupsd-3.14.13.ebuild')
-rw-r--r-- | sys-power/apcupsd/apcupsd-3.14.13.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-power/apcupsd/apcupsd-3.14.13.ebuild b/sys-power/apcupsd/apcupsd-3.14.13.ebuild index b6e3eb60c4f7..b3489084c867 100644 --- a/sys-power/apcupsd/apcupsd-3.14.13.ebuild +++ b/sys-power/apcupsd/apcupsd-3.14.13.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils linux-info flag-o-matic systemd udev +inherit eutils linux-info flag-o-matic systemd udev tmpfiles DESCRIPTION="APC UPS daemon with integrated tcp/ip remote shutdown" HOMEPAGE="http://www.apcupsd.org/" @@ -93,7 +93,7 @@ src_install() { newinitd "${FILESDIR}/${PN}.powerfail.init" "${PN}".powerfail systemd_dounit "${FILESDIR}"/${PN}.service - systemd_dotmpfilesd "${FILESDIR}"/${PN}-tmpfiles.conf + dotmpfiles "${FILESDIR}"/${PN}-tmpfiles.conf # remove hal settings, we don't really want to have it around still. rm -r "${D}"/usr/share/hal @@ -106,6 +106,8 @@ src_install() { } pkg_postinst() { + tmpfiles_process ${PN}-tmpfiles.conf + if use cgi; then elog "The cgi-bin directory for ${PN} is /usr/libexec/${PN}/cgi-bin." elog "Set up your ScriptAlias or symbolic links accordingly." |