summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-01-25 07:59:16 -0600
committerBen Kohler <bkohler@gentoo.org>2021-01-25 07:59:48 -0600
commit5e10c105ab04561c303d74db9fcd1b5c7c53ec61 (patch)
tree888dc29695a272e572c13d46ac82ef6050876317 /sys-apps/smartmontools
parentapp-admin/exo: version bump to 1.23.0 (diff)
downloadgentoo-5e10c105ab04561c303d74db9fcd1b5c7c53ec61.tar.gz
gentoo-5e10c105ab04561c303d74db9fcd1b5c7c53ec61.tar.bz2
gentoo-5e10c105ab04561c303d74db9fcd1b5c7c53ec61.zip
sys-apps/smartmontools: fix EROOT usage for EAPI=6
Remember to restore these extra /'s when moving to EAPI=7 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-apps/smartmontools')
-rw-r--r--sys-apps/smartmontools/smartmontools-7.1-r1.ebuild4
-rw-r--r--sys-apps/smartmontools/smartmontools-7.2.ebuild4
-rw-r--r--sys-apps/smartmontools/smartmontools-9999.ebuild4
3 files changed, 6 insertions, 6 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
diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index bcbd184c16d7..8743a731e871 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -118,8 +118,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
diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild
index bcbd184c16d7..8743a731e871 100644
--- a/sys-apps/smartmontools/smartmontools-9999.ebuild
+++ b/sys-apps/smartmontools/smartmontools-9999.ebuild
@@ -118,8 +118,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