[BACK]Return to install.sxxu CVS log [TXT][DIR] Up to [local] / openbsd / sxxu

Diff for /openbsd/sxxu/Attic/install.sxxu between version 1.9 and 1.10

version 1.9, 2010/04/21 20:01:25 version 1.10, 2010/04/21 20:13:08
Line 114 
Line 114 
 apply_role() {  apply_role() {
     local _role="$1"      local _role="$1"
   
     if [ ! -d "${_role}" ]; then      local _oldpwd="${PWD}"
       local _rolepwd="${BASEDIR}/${_role}"
   
       if [ ! -d "${_rolepwd}" ]; then
         echo "===> Missing ${_role}"          echo "===> Missing ${_role}"
         return          return
     fi      fi
   
     echo "===> Applying ${_role}"      echo "===> Applying ${_role}"
   
     local _oldpwd="${PWD}"      cd "${_rolepwd}"
     cd "${_role}"      if [ -e ./siteXXrc ]; then
     local _rolepwd="${PWD}"  
   
     if [ -e siteXXrc ]; then  
         echo ' ==> Including siteXXrc'          echo ' ==> Including siteXXrc'
         . siteXXrc          . ./siteXXrc
     fi      fi
   
     cd "${_rolepwd}" && append_pkg_path      cd "${_rolepwd}" && append_pkg_path
Line 135 
Line 135 
     cd "${_rolepwd}" && apply_patches      cd "${_rolepwd}" && apply_patches
     cd "${_rolepwd}" && install_packages      cd "${_rolepwd}" && install_packages
   
     if [ -e install.site ]; then      cd "${_rolepwd}"
         cd "${_rolepwd}"      if [ -e ./install.site ]; then
         if [ -x install.site ]; then          if [ -x ./install.site ]; then
             echo ' ==> Running install.site'              echo ' ==> Running install.site'
             ./install.site              ./install.site
         else          else
             echo ' ==> Including install.site'              echo ' ==> Including install.site'
             . install.site              . ./install.site
         fi          fi
     fi      fi
   

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>