Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
14e62ca4
Commit
14e62ca4
authored
Feb 08, 2021
by
Francesc Guasch
Committed by
frankiejol
Feb 08, 2021
Browse files
fix(backend): Ubuntu 20.04 URL (#1496)
* fix(backend): Ubuntu 20.04 URL closes issue #1494
parent
4053baa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
14e62ca4
...
...
@@ -268,8 +268,8 @@ sub _update_isos {
,
arch
=>
'
amd64
'
,
xml
=>
'
focal_fossa-amd64.xml
'
,
xml_volume
=>
'
focal_fossa64-volume.xml
'
,
url
=>
'
http://releases.ubuntu.com/20.04
'
,
file_re
=>
'
^ubuntu-20.04.
1
-desktop-amd64.iso
'
,
url
=>
'
http://releases.ubuntu.com/20.04
/
'
,
file_re
=>
'
^ubuntu-20.04.
\d+
-desktop-amd64.iso
'
,
sha256_url
=>
'
$url/SHA256SUMS
'
,
min_disk_size
=>
'
9
'
}
...
...
@@ -921,6 +921,9 @@ sub _remove_old_isos {
,"
DELETE FROM iso_images
"
.
"
WHERE (name LIKE 'Ubuntu Focal%' OR name LIKE 'Ubuntu Bionic%' )
"
.
"
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%'
"
)
{
my
$sth
=
$CONNECTOR
->
dbh
->
prepare
(
$sql
);
$sth
->
execute
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment