/[gentoo-x86]/sys-apps/openrc/openrc-9999.ebuild
Gentoo

Diff of /sys-apps/openrc/openrc-9999.ebuild

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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/sys-apps/openrc/openrc-9999.ebuild,v 1.2 2008/03/23 00:04:00 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.3 2008/03/23 17:40:46 vapier Exp $
4 4
5inherit eutils flag-o-matic multilib toolchain-funcs 5inherit eutils flag-o-matic multilib toolchain-funcs
6 6
7if [[ ${PV} == "9999" ]] ; then 7if [[ ${PV} == "9999" ]] ; then
8 inherit git 8 inherit git
82pkg_preinst() { 82pkg_preinst() {
83 # default net script is just comments, so no point in biting people 83 # default net script is just comments, so no point in biting people
84 # in the ass by accident 84 # in the ass by accident
85 [[ -e ${ROOT}/etc/conf.d/net ]] && rm -f "${D}"/etc/conf.d/net 85 [[ -e ${ROOT}/etc/conf.d/net ]] && rm -f "${D}"/etc/conf.d/net
86 86
87 has_version sys-apps/openrc || return 0 87 has_version sys-apps/openrc && return 0
88 88
89 # upgrade timezone file 89 # upgrade timezone file
90 if [[ ! -e ${ROOT}/etc/timezone ]] ; then 90 if [[ ! -e ${ROOT}/etc/timezone ]] ; then
91 ( 91 (
92 source "${ROOT}"/etc/conf.d/timezone 92 source "${ROOT}"/etc/conf.d/timezone

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.13