summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/smartmontools/smartmontools-6.4-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
index 9b4bce3b1fa3..b000e3b6484a 100644
--- a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
@@ -61,6 +61,8 @@ src_configure() {
}
src_install() {
+ local db_path="/var/db/${PN}"
+
if use minimal ; then
dosbin smartctl
doman smartctl.8
@@ -71,7 +73,8 @@ src_install() {
fi
# Move drivedb.h file out of PM's sight (bug #575292)
- mv "${ED}"/var/db/${PN}/drivedb.h "${T}" || die
+ mv "${ED}"${db_path}/drivedb.h "${T}" || die
+ keepdir ${db_path}
exeinto /etc/cron.monthly
doexe "${FILESDIR}"/${PN}-update-drivedb