net-misc/i2pd: ROOT -> EROOT
authorAlexey Korepanov <kaikaikai@yandex.ru>
Tue, 8 Nov 2016 17:02:43 +0000 (17:02 +0000)
committerAnthony G. Basile <blueness@gentoo.org>
Wed, 9 Nov 2016 03:40:16 +0000 (22:40 -0500)
net-misc/i2pd/i2pd-2.10.0.ebuild
net-misc/i2pd/i2pd-2.10.1.ebuild

index 97bb971263aafbf47a9c577549282a4c33eb0a8f..2969a0db08fe5c227fc19bb64cefdae5e47e490f 100644 (file)
@@ -90,7 +90,7 @@ pkg_setup() {
 }
 
 pkg_postinst() {
-       if [[ -f ${ROOT}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 97bb971263aafbf47a9c577549282a4c33eb0a8f..2969a0db08fe5c227fc19bb64cefdae5e47e490f 100644 (file)
@@ -90,7 +90,7 @@ pkg_setup() {
 }
 
 pkg_postinst() {
-       if [[ -f ${ROOT}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"