summaryrefslogtreecommitdiff
path: root/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/smartmontools/smartmontools-7.1-r1.ebuild')
-rw-r--r--sys-apps/smartmontools/smartmontools-7.1-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
index 158bfd6444fc..823bf3d00684 100644
--- a/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
@@ -114,8 +114,8 @@ src_install() {
pkg_postinst() {
if use daemon || use update-drivedb; then
- local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
- local db_path="${EROOT}/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