diff options
author | David Seifert <soap@gentoo.org> | 2020-02-08 17:52:32 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-08 17:52:32 +0100 |
commit | a46dcbae99370e54eb351057cade59c58a512d3e (patch) | |
tree | 78f4aedb5e4537f2d8b7e31dc99afa54b447e1c8 | |
parent | sys-apps/miscfiles: [QA] Fix UnnecessarySlashStrip (diff) | |
download | gentoo-a46dcbae99370e54eb351057cade59c58a512d3e.tar.gz gentoo-a46dcbae99370e54eb351057cade59c58a512d3e.tar.bz2 gentoo-a46dcbae99370e54eb351057cade59c58a512d3e.zip |
sys-apps/smartmontools: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r-- | sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/smartmontools/smartmontools-7.1.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/smartmontools/smartmontools-9999.ebuild | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild index b63f007b6df0..a07862703917 100644 --- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild +++ b/sys-apps/smartmontools/smartmontools-7.0-r1.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 diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild b/sys-apps/smartmontools/smartmontools-7.1.ebuild index 9f111458dc66..4cdbb0a02120 100644 --- a/sys-apps/smartmontools/smartmontools-7.1.ebuild +++ b/sys-apps/smartmontools/smartmontools-7.1.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 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 |