[gentoo-x86] / sys-apps / baselayout / baselayout-2.0.0.ebuild Project Root:

GentooDiff of /sys-apps/baselayout/baselayout-2.0.0.ebuild

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

version 1.3, Thu Apr 17 17:42:18 2008 UTC version 1.4, Sat Apr 19 06:22:52 2008 UTC
Line 116 
Line 116 
                         ewarn ${bad_users}                          ewarn ${bad_users}
                 fi                  fi
         fi          fi
   
           # whine about users with invalid shells #215698
           if [[ -e ${ROOT}/etc/passwd ]] ; then
                   local bad_shells=$(awk -F: 'system("test -e " $7) { print $1 " - " $7}' /etc/passwd | sort)
                   if [[ -n ${bad_shells} ]] ; then
                           echo
                           ewarn "The following users have non-existent shells!"
                           ewarn "${bad_shells}"
                   fi
           fi
 }  }

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

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help