summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/netifrc/ChangeLog5
-rw-r--r--net-misc/netifrc/netifrc-0.3.0.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/net-misc/netifrc/ChangeLog b/net-misc/netifrc/ChangeLog
index 1bf67b7b217e..13b8b260970b 100644
--- a/net-misc/netifrc/ChangeLog
+++ b/net-misc/netifrc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/netifrc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/ChangeLog,v 1.41 2015/01/23 18:05:36 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/ChangeLog,v 1.42 2015/03/05 04:16:37 heroxbd Exp $
+
+ 05 Mar 2015; Benda Xu <heroxbd@gentoo.org> netifrc-0.3.0.ebuild:
+ Strip EPREFIX from dosym operand: Avoid double prefix.
*netifrc-0.3.1 (23 Jan 2015)
diff --git a/net-misc/netifrc/netifrc-0.3.0.ebuild b/net-misc/netifrc/netifrc-0.3.0.ebuild
index eed21dbc0777..999c9d052300 100644
--- a/net-misc/netifrc/netifrc-0.3.0.ebuild
+++ b/net-misc/netifrc/netifrc-0.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/netifrc-0.3.0.ebuild,v 1.3 2015/01/11 06:03:13 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/netifrc-0.3.0.ebuild,v 1.4 2015/03/05 04:16:37 heroxbd Exp $
EAPI=5
@@ -56,7 +56,7 @@ src_install() {
UNIT_DIR="$(systemd_get_unitdir)"
sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
systemd_newunit "${T}/net_at.service" 'net@.service'
- dosym "${UNIT_DIR}/net@.service" "${UNIT_DIR}/net@lo.service"
+ dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
}
pkg_postinst() {