diff options
author | Brian Evans <grknight@gentoo.org> | 2018-08-27 13:40:40 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-08-27 13:40:40 -0400 |
commit | 00e5c01f3a9ae5d2407b4d2201df00eb190c6105 (patch) | |
tree | 22f086e261a90c16482bd58caf8506bc520d8b45 | |
parent | app-crypt/ima-evm-utils: Use sys/xattr instead of attr/xattr (diff) | |
download | gentoo-00e5c01f3a9ae5d2407b4d2201df00eb190c6105.tar.gz gentoo-00e5c01f3a9ae5d2407b4d2201df00eb190c6105.tar.bz2 gentoo-00e5c01f3a9ae5d2407b4d2201df00eb190c6105.zip |
dev-db/mysql-init-scripts: Use tmpfiles eclass during install
Package-Manager: Portage-2.3.48, Repoman-2.3.10
-rw-r--r-- | dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild b/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild index 8fa8c8341de8..d0a1278895f8 100644 --- a/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild +++ b/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit systemd s6 +inherit systemd s6 tmpfiles DESCRIPTION="Gentoo MySQL init scripts." HOMEPAGE="https://www.gentoo.org/" @@ -44,13 +44,14 @@ src_install() { doexe "${FILESDIR}"/mysqld-wait-ready systemd_newunit "${FILESDIR}/mysqld-v2.service" "mysqld.service" systemd_newunit "${FILESDIR}/mysqld_at-v2.service" "mysqld@.service" - systemd_dotmpfilesd "${FILESDIR}/mysql.conf" + dotmpfiles "${FILESDIR}/mysql.conf" insinto /etc/logrotate.d newins "${FILESDIR}/logrotate.mysql" "mysql" } pkg_postinst() { + tmpfiles_process mysql.conf if use amd64 || use x86 ; then elog "" elog "To use the mysql-s6 script, you need to install the optional sys-apps/s6 package." |