Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
makeiso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
makeiso
Merge requests
!17
efi-local-repo-builder: add check for missing manifest on defined URL
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
efi-local-repo-builder: add check for missing manifest on defined URL
Ark74/makeiso:add_check_11.0
into
master
Overview
0
Commits
2
Changes
1
Merged
Luis Guzmán
requested to merge
Ark74/makeiso:add_check_11.0
into
master
2 years ago
Overview
0
Commits
2
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f0d1a955
2 commits,
2 years ago
1 file
+
4
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
files/efi-local-repo-builder.sh
+
4
−
0
Options
@@ -57,6 +57,10 @@ SOURCES
echo
-e
"
\n
>>>> Getting updated available
$CODENAME
packages to create repo...
\n
"
ISO_URL
=
"http://cdbuilds.trisquel.org/
$CODENAME
"
if
[
"
$(
curl
-s
-o
/dev/null
-w
"%{http_code}"
"
$ISO_URL
"
)
"
==
"404"
]
;
then
echo
-e
"There is no manifest file at the current release url:
$ISO_URL
\n
"
exit
fi
LATEST_MANIFEST_DATE
=
"
$(
curl
-s
"
$ISO_URL
"
/|grep
-v
sources|grep manifest|awk
'{print$3}'
|sort|tail
-n1
)
"
MANIFEST_NAME
=
"
$(
curl
-s
"
$ISO_URL
"
/|grep manifest|grep
"
$LATEST_MANIFEST_DATE
"
|cut
-d
'"'
-f2
|tail
-n1
)
"
ISO_MANIFEST_URL
=
"
$ISO_URL
/
$MANIFEST_NAME
"
Loading