Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
Nurlan
eepm
Commits
ef042700
Commit
ef042700
authored
Aug 01, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
play.d/common.sh: use eget --check in check_url_is_accessible
parent
31994fe4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
common.sh
play.d/common.sh
+1
-3
No files found.
play.d/common.sh
View file @
ef042700
...
@@ -84,12 +84,10 @@ check_supported_arch()
...
@@ -84,12 +84,10 @@ check_supported_arch()
return
1
return
1
}
}
# TODO: improve me (move to eget, just http-accessed)
check_url_is_accessible
()
check_url_is_accessible
()
{
{
local
res
local
res
res
=
"
$(
epm tool eget
--list
"
$1
"
"
$2
"
2>/dev/null
)
"
epm tool eget
--check
"
$1
"
[
-n
"
$res
"
]
}
}
check_supported_arch
$SUPPORTEDARCHES
||
fatal
"Only
$SUPPORTEDARCHES
is supported"
check_supported_arch
$SUPPORTEDARCHES
||
fatal
"Only
$SUPPORTEDARCHES
is supported"
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