/[gentoo-x86]/net-misc/netifrc/netifrc-9999.ebuild
Gentoo

Diff of /net-misc/netifrc/netifrc-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/netifrc-9999.ebuild,v 1.10 2015/01/11 06:03:13 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/netifrc-9999.ebuild,v 1.11 2015/03/05 04:20:35 heroxbd Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit eutils systemd 7inherit eutils systemd
8 8
54 # Install the service file 54 # Install the service file
55 LIBEXECDIR=${EPREFIX}/lib/${PN} 55 LIBEXECDIR=${EPREFIX}/lib/${PN}
56 UNIT_DIR="$(systemd_get_unitdir)" 56 UNIT_DIR="$(systemd_get_unitdir)"
57 sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die 57 sed "s:@LIBEXECDIR@:${LIBEXECDIR}:" "${S}/systemd/net_at.service.in" > "${T}/net_at.service" || die
58 systemd_newunit "${T}/net_at.service" 'net@.service' 58 systemd_newunit "${T}/net_at.service" 'net@.service'
59 dosym "${UNIT_DIR}/net@.service" "${UNIT_DIR}/net@lo.service" 59 dosym "${UNIT_DIR#${EPREFIX}}/net@.service" "${UNIT_DIR#${EPREFIX}}/net@lo.service"
60} 60}
61 61
62pkg_postinst() { 62pkg_postinst() {
63 if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then 63 if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
64 elog "The network configuration scripts will use dhcp by" 64 elog "The network configuration scripts will use dhcp by"

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20