summaryrefslogtreecommitdiff
path: root/sys-apps/smartmontools/smartmontools-7.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/smartmontools/smartmontools-7.1.ebuild')
-rw-r--r--sys-apps/smartmontools/smartmontools-7.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index 9f111458dc66..4cdbb0a02120 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.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