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
f4c99622
Commit
f4c99622
authored
Jun 19, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install: add workaround to fix urls works
parent
015b4a6f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
epm
bin/epm
+1
-1
epm-install
bin/epm-install
+7
-2
No files found.
bin/epm
View file @
f4c99622
...
@@ -319,7 +319,7 @@ check_filenames()
...
@@ -319,7 +319,7 @@ check_filenames()
elif
[
-d
"
$opt
"
]
;
then
elif
[
-d
"
$opt
"
]
;
then
pkg_dirs
=
"
$pkg_dirs
$opt
"
pkg_dirs
=
"
$pkg_dirs
$opt
"
elif
echo
"
$opt
"
|
grep
-q
"://"
;
then
elif
echo
"
$opt
"
|
grep
-q
"://"
;
then
pkg_urls
=
"
$pkg_
name
s
$opt
"
pkg_urls
=
"
$pkg_
url
s
$opt
"
else
else
pkg_names
=
"
$pkg_names
$opt
"
pkg_names
=
"
$pkg_names
$opt
"
fi
fi
...
...
bin/epm-install
View file @
f4c99622
...
@@ -407,12 +407,17 @@ epm_install()
...
@@ -407,12 +407,17 @@ epm_install()
# Download urls via eget pkg_urls and use eget
# Download urls via eget pkg_urls and use eget
# TODO: use optimization (rpm can download packages by url, yum too?)
# TODO: use optimization (rpm can download packages by url, yum too?)
download_pkg_urls
"
$pkg_urls
"
#[ -n "$pkg_urls" ] && warning "URL using does not realize yet"
#download_pkg_urls "$pkg_urls"
# temp. hack
pkg_files
=
"
$pkg_files
$pkg_urls
"
# TODO: add downloaded files to $pkg_files
[
-z
"
$pkg_files$pkg_names
"
]
&&
info
"Skip empty install list"
&&
return
22
[
-z
"
$pkg_files$pkg_names
$pkg_urls
"
]
&&
info
"Skip empty install list"
&&
return
22
local
names
=
"
$(
echo
$pkg_names
| filter_out_installed_packages
)
"
local
names
=
"
$(
echo
$pkg_names
| filter_out_installed_packages
)
"
local
files
=
"
$(
echo
$pkg_files
| filter_out_installed_packages
)
"
local
files
=
"
$(
echo
$pkg_files
| filter_out_installed_packages
)
"
local
urls
=
"
$(
echo
$pkg_urls
| filter_out_installed_packages
)
"
[
-z
"
$files$names
"
]
&&
info
"Skip empty install list"
&&
return
22
[
-z
"
$files$names
"
]
&&
info
"Skip empty install list"
&&
return
22
...
...
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