summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:52:32 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:52:32 +0100
commita46dcbae99370e54eb351057cade59c58a512d3e (patch)
tree78f4aedb5e4537f2d8b7e31dc99afa54b447e1c8 /sys-apps/smartmontools/smartmontools-9999.ebuild
parentsys-apps/miscfiles: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-a46dcbae99370e54eb351057cade59c58a512d3e.tar.gz
gentoo-a46dcbae99370e54eb351057cade59c58a512d3e.tar.bz2
gentoo-a46dcbae99370e54eb351057cade59c58a512d3e.zip
sys-apps/smartmontools: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/smartmontools/smartmontools-9999.ebuild')
-rw-r--r--sys-apps/smartmontools/smartmontools-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild
index 9f111458dc66..4cdbb0a02120 100644
--- a/sys-apps/smartmontools/smartmontools-9999.ebuild
+++ b/sys-apps/smartmontools/smartmontools-9999.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