Diff for /loncom/build/check-rpms between versions 1.3 and 1.4

version 1.3, 2002/04/13 19:13:06 version 1.4, 2002/08/01 04:57:18
Line 3 Line 3
 # check-rpms, version 2.1.1  # check-rpms, version 2.1.1
 # Martin Siegert, SFU, siegert@sfu.ca, Feb 02  # Martin Siegert, SFU, siegert@sfu.ca, Feb 02
 #  #
   # documentation and minor patches,
   # Scott Harrison sharrison@users.sourceforge.net 2002
   
 =pod  =pod
   
 =head1 NAME  =head1 NAME
Line 260  $DEFCONF = "/usr/local/etc/check-rpms.co Line 263  $DEFCONF = "/usr/local/etc/check-rpms.co
 $DEFRPMDIR = "/mnt/redhat/RedHat/RPMS";  $DEFRPMDIR = "/mnt/redhat/RedHat/RPMS";
 $DEFFTPSERVER = "updates.redhat.com";  $DEFFTPSERVER = "updates.redhat.com";
 $DEFFTPUPDATES = "$RHversion/en/os";  $DEFFTPUPDATES = "$RHversion/en/os";
 $DEFRPMUSER = "nobody";  $DEFRPMUSER = "harris41";
   
 $RPMDIR=$DEFRPMDIR;  $RPMDIR=$DEFRPMDIR;
   
Line 294  Example configuration file: Line 297  Example configuration file:
   
  # $RPMUSER is the user name that check-rpms switches to for most of   # $RPMUSER is the user name that check-rpms switches to for most of
  # the script when run as root   # the script when run as root
  $RPMUSER = "joe";   $RPMUSER = "harris41";
   
  # $FTPSERVER and $FTPUPDATES are the hostname of a ftp server and the   # $FTPSERVER and $FTPUPDATES are the hostname of a ftp server and the
  # directory where RPM updates can be found without the <arch> directory.   # directory where RPM updates can be found without the <arch> directory.
Line 392  if (defined $opt_update || defined $opt_ Line 395  if (defined $opt_update || defined $opt_
     $no_kernel=1;      $no_kernel=1;
 }  }
   
 $PROC = `grep -i athlon /proc/cpuinfo`;  $PROC = `grep -i "athlon\|amd" /proc/cpuinfo`;
 if ( ! "$PROC" ) {  if ( ! "$PROC" ) {
     $PROC = `uname -m`;      $PROC = `uname -m`;
     chomp($PROC);      chomp($PROC);

Removed from v.1.3  
changed lines
  Added in v.1.4


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