[gentoo-x86] / sys-apps / openrc / openrc-9999.ebuild Project Root:

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

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph

version 1.30, Tue Apr 15 22:28:46 2008 UTC version 1.31, Tue Apr 15 22:41:10 2008 UTC
Line 121 
Line 121 
 pkg_preinst() {  pkg_preinst() {
         local f          local f
   
           # default net script is just comments, so no point in biting people
           # in the ass by accident
           mv "${D}"/etc/conf.d/net "${T}"/
           [[ -e ${ROOT}/etc/conf.d/net ]] && cp "${ROOT}"/etc/conf.d/net "${T}"/
   
         # /etc/conf.d/clock moved to /etc/conf.d/hwclock          # /etc/conf.d/clock moved to /etc/conf.d/hwclock
         local clock          local clock
         use kernel_FreeBSD && clock="adjkerntz" || clock="hwclock"          use kernel_FreeBSD && clock="adjkerntz" || clock="hwclock"
Line 241 
Line 246 
         # Remove old baselayout links          # Remove old baselayout links
         rm -f "${ROOT}"/etc/runlevels/boot/{check{fs,root},rmnologin}          rm -f "${ROOT}"/etc/runlevels/boot/{check{fs,root},rmnologin}
   
           [[ -e ${T}/net && ! -e ${ROOT}/etc/conf.d/net ]] && mv "${T}"/net "${ROOT}"/etc/conf.d/net
   
         # Make our runlevels if they don't exist          # Make our runlevels if they don't exist
         if [[ ! -e ${ROOT}/etc/runlevels ]] ; then          if [[ ! -e ${ROOT}/etc/runlevels ]] ; then
                 einfo "Copying across default runlevels"                  einfo "Copying across default runlevels"

Generate output suitable for use with a patch program
Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help