From 0bac5ab9c3dc09b4c7c5b3ce98ade26b56f2c908 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 28 Mar 2021 11:18:43 +0200 Subject: [PATCH] app-admin/customrescuecd-x86: remove UnnecessarySlashStrip Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan --- .../customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild index 4c3a5f629c..e4e9913adc 100644 --- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild +++ b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,7 +23,7 @@ src_install() { } pkg_postinst() { - local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso + local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso # no version newer than ours? we're the newest! if ! has_version ">${CATEGORY}/${PF}"; then @@ -32,7 +32,7 @@ pkg_postinst() { } pkg_postrm() { - local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso + local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso # if there is no version newer than ours installed if ! has_version ">${CATEGORY}/${PF}"; then