Skip to content

Commit

Permalink
fix(ISO): Ubuntu Focal Fossa
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Feb 25, 2021
1 parent c419e73 commit 38db55c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Ravada.pm
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ sub _update_isos {
,xml => 'focal_fossa-amd64.xml'
,xml_volume => 'focal_fossa64-volume.xml'
,url => 'http://releases.ubuntu.com/20.04/'
,file_re => '^ubuntu-20.04.\d+-desktop-amd64.iso'
,file_re => '^ubuntu-20.04.*-desktop-amd64.iso'
,sha256_url => '$url/SHA256SUMS'
,min_disk_size => '9'
}
Expand Down Expand Up @@ -918,7 +918,7 @@ sub _remove_old_isos {
." AND ( md5 IS NOT NULL OR md5_url IS NOT NULL) "
,"DELETE FROM iso_images "
."WHERE name like 'Ubuntu Focal%' "
." AND file_re like '%20.04.1%'"
." AND ( file_re like '%20.04.1%' OR file_re like '%20.04.%d+%')"
) {
my $sth = $CONNECTOR->dbh->prepare($sql);
$sth->execute();
Expand Down

0 comments on commit 38db55c

Please sign in to comment.