Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
f367565b
Commit
f367565b
authored
Aug 06, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added --silent for curl
parent
fbe7a7a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
functions_helper
data_from_portwine/scripts/functions_helper
+1
-1
No files found.
data_from_portwine/scripts/functions_helper
View file @
f367565b
...
...
@@ -272,7 +272,7 @@ check_process () {
export
-f
check_process
try_check_sha256sum
()
{
SHA256SUM_EXT
=
$(
curl
-L
"
${
1
//.tar*/
}
.sha256sum"
|
awk
'{print $1}'
)
SHA256SUM_EXT
=
$(
curl
-L
--silent
"
${
1
//.tar*/
}
.sha256sum"
|
awk
'{print $1}'
)
if
[[
${#
SHA256SUM_EXT
}
==
64
]]
;
then
SHA256SUM_INT
=
$(
sha256sum
"
$dest
"
|
awk
'{print $1}'
)
if
[[
"
$SHA256SUM_EXT
"
==
"
$SHA256SUM_INT
"
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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