/[fai]/trunk/bin/fai-mirror
ViewVC logotype

Diff of /trunk/bin/fai-mirror

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

revision 3395 by lange, Tue Apr 11 17:32:34 2006 UTC revision 3396 by lange, Tue Apr 11 21:21:37 2006 UTC
# Line 25  Line 25 
25  # MA 02111-1307, USA.  # MA 02111-1307, USA.
26  #*********************************************************************  #*********************************************************************
27    
28  version="Version 1.5, 8-april-2006"  version="Version 1.5, 11-april-2006"
29    
30  # variables: NFSROOT, FAI_CONFIGDIR  # variables: NFSROOT, FAI_CONFIGDIR
31  # NFSROOT_PACKAGES, packages from make-fai-nfsroot.conf  # NFSROOT_PACKAGES, packages from make-fai-nfsroot.conf
# Line 196  add_base_packages() { Line 196  add_base_packages() {
196      echo "Adding packages from base.tgz."      echo "Adding packages from base.tgz."
197      if [ -f $NFSROOT/var/tmp/base-pkgs.lis ]; then      if [ -f $NFSROOT/var/tmp/base-pkgs.lis ]; then
198          plist=$(< $NFSROOT/var/tmp/base-pkgs.lis)          plist=$(< $NFSROOT/var/tmp/base-pkgs.lis)
199            apt-get $quiet $aptoptions update >/dev/null
200          apt-get $qflag -d $aptoptions -y --force-yes --fix-missing install $plist          apt-get $qflag -d $aptoptions -y --force-yes --fix-missing install $plist
201      else      else
202          echo "WARNING: $NFSROOT/var/tmp/base-pkgs.lis does not exists."          echo "WARNING: $NFSROOT/var/tmp/base-pkgs.lis does not exists."

Legend:
Removed from v.3395  
changed lines
  Added in v.3396

  ViewVC Help
Powered by ViewVC 1.1.5