From 73c52170e46f94aa54947291e1c31249b32326f5 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 18 Apr 2016 19:25:38 +0200 Subject: sys-apps/smartmontools: Keep temporarily empty /var/db/smartmontools directory. This should fix isntallation with paludis. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler --- sys-apps/smartmontools/smartmontools-6.4-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys-apps') 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 -- cgit v1.2.3-65-gdbad