[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Yum automatic updates



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