From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- sys-apps/smartmontools/smartmontools-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-apps/smartmontools/smartmontools-9999.ebuild') diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild index 9f111458dc66..4cdbb0a02120 100644 --- a/sys-apps/smartmontools/smartmontools-9999.ebuild +++ b/sys-apps/smartmontools/smartmontools-9999.ebuild @@ -117,8 +117,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="${EPREFIX}/usr/share/${PN}/drivedb.h" + local db_path="${EPREFIX}/var/db/${PN}" if [[ ! -f "${db_path}/drivedb.h" ]] ; then # No initial database found -- cgit v1.2.3