[ale] Yum automatic updates

Chris Fowler cfowler at outpostsentinel.com
Wed May 5 10:32:22 EDT 2004


What do you guys think about this script to update my Fedora 1 sys?

#!/usr/bin/perl

@LINES=`yum list installed`

foreach my $ref (@LINES) {
  $ref =~ m/$(\w+)\s/;
   next unless $1;
   system "yum update $1";
}

# END





More information about the Ale mailing list