From 2e24c2f37fc512bcfcf2c35b2a6eaa90f14dcd41 Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Sun, 23 Aug 2020 01:02:44 -0700 Subject: sys-apps/smartmontools: use EROOT instead of EPREFIX in postinst Closes: https://bugs.gentoo.org/738668 Closes: https://github.com/gentoo/gentoo/pull/17229 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Steven Johnson Signed-off-by: David Seifert --- sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 4 ++-- sys-apps/smartmontools/smartmontools-7.1.ebuild | 4 ++-- sys-apps/smartmontools/smartmontools-9999.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys-apps') diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild index 285822cc66a6..bca8212f62bd 100644 --- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild +++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild @@ -114,8 +114,8 @@ src_install() { pkg_postinst() { if use daemon || use update_drivedb; then - local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h" - local db_path="${EPREFIX}/var/db/${PN}" + local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h" + local db_path="${EROOT}/var/db/${PN}" if [[ ! -f "${db_path}/drivedb.h" ]] ; then # No initial database found diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild b/sys-apps/smartmontools/smartmontools-7.1.ebuild index 2a8ee6a3de63..fb41bdc784b5 100644 --- a/sys-apps/smartmontools/smartmontools-7.1.ebuild +++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild @@ -114,8 +114,8 @@ src_install() { pkg_postinst() { if use daemon || use update_drivedb; then - local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h" - local db_path="${EPREFIX}/var/db/${PN}" + local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h" + local db_path="${EROOT}/var/db/${PN}" if [[ ! -f "${db_path}/drivedb.h" ]] ; then # No initial database found diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild index 984b82cc76d4..9c4544209c16 100644 --- a/sys-apps/smartmontools/smartmontools-9999.ebuild +++ b/sys-apps/smartmontools/smartmontools-9999.ebuild @@ -114,8 +114,8 @@ src_install() { pkg_postinst() { if use daemon || use update_drivedb; then - local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h" - local db_path="${EPREFIX}/var/db/${PN}" + local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h" + local db_path="${EROOT}/var/db/${PN}" if [[ ! -f "${db_path}/drivedb.h" ]] ; then # No initial database found -- cgit v1.2.3-65-gdbad