/[packages]/cauldron/bind/current/SPECS/bind.spec
ViewVC logotype

Diff of /cauldron/bind/current/SPECS/bind.spec

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

revision 87092 by misc, Sun Apr 17 10:29:38 2011 UTC revision 87093 by misc, Sun Apr 17 10:30:27 2011 UTC
# Line 479  EOF Line 479  EOF
479  %pre  %pre
480  %_pre_useradd named /var/lib/named /bin/false  %_pre_useradd named /var/lib/named /bin/false
481    
 # adjust home dir location if needed  
 if [ "`getent passwd named | awk -F: '{print $6}'`" == "/var/named" ]; then  
     usermod -d /var/lib/named named  
 fi  
   
482  # check if bind is chrooted and try to restore it  # check if bind is chrooted and try to restore it
483  if [ -x %{_sbindir}/bind-chroot.sh ]; then  if [ -x %{_sbindir}/bind-chroot.sh ]; then
484      ROOTDIR="/var/lib/named-chroot"      ROOTDIR="/var/lib/named-chroot"

Legend:
Removed from v.87092  
changed lines
  Added in v.87093

  ViewVC Help
Powered by ViewVC 1.1.30