net-vpn/i2pd: Fix CI issue, remove slash strip after EROOT
authorAlexey Korepanov <kaikaikai@yandex.ru>
Fri, 22 Nov 2019 20:35:49 +0000 (20:35 +0000)
committerJoonas Niilola <juippis@gentoo.org>
Tue, 26 Nov 2019 14:59:04 +0000 (16:59 +0200)
Signed-off-by: Alexey Korepanov <kaikaikai@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/13736
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
net-vpn/i2pd/i2pd-2.27.0.ebuild
net-vpn/i2pd/i2pd-2.28.0.ebuild
net-vpn/i2pd/i2pd-2.29.0.ebuild

index e005944671454eb6a834b64fc187a6c46edf819a..099b9151f1666469ed72861a3cc792b310f2558e 100644 (file)
@@ -96,7 +96,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
+       if [[ -f ${EROOT}/etc/i2pd/subscriptions.txt ]]; then
                ewarn
                ewarn "Configuration of the subscriptions has been moved from"
                ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
index e005944671454eb6a834b64fc187a6c46edf819a..099b9151f1666469ed72861a3cc792b310f2558e 100644 (file)
@@ -96,7 +96,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
+       if [[ -f ${EROOT}/etc/i2pd/subscriptions.txt ]]; then
                ewarn
                ewarn "Configuration of the subscriptions has been moved from"
                ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
index 44e65b71dd8cc7b99880b878fa9cb0f2668b6a39..5982e199dbce8e43c6a7c87397923990eba5ea74 100644 (file)
@@ -94,7 +94,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
+       if [[ -f ${EROOT}/etc/i2pd/subscriptions.txt ]]; then
                ewarn
                ewarn "Configuration of the subscriptions has been moved from"
                ewarn "subscriptions.txt to i2pd.conf. We recommend updating"