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
etersoft
eepm
Commits
adf6c623
Commit
adf6c623
authored
Apr 15, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm ei: add special case for eepm install
parent
a9a32ec4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
6 deletions
+22
-6
epm-epm_install
bin/epm-epm_install
+22
-6
No files found.
bin/epm-epm_install
View file @
adf6c623
...
...
@@ -48,11 +48,6 @@ __epm_korinf_list() {
__epm_korinf_install
()
{
# enable interactive for install eepm from console
if
inputisatty
&&
[
-n
"
$PROGDIR
"
]
&&
[
"
$1
"
=
"eepm"
]
;
then
[
-n
"
$non_interactive
"
]
||
interactive
=
"--interactive"
fi
local
pkg
local
pkg_urls
=
''
for
pkg
in
$*
;
do
...
...
@@ -63,6 +58,27 @@ __epm_korinf_install() {
pkg_names
=
''
pkg_files
=
''
epm_install
}
__epm_korinf_install_eepm
()
{
# enable interactive for install eepm from console
if
inputisatty
&&
[
"
$EPMMODE
"
!=
"pipe"
]
&&
[
"
$1
"
=
"eepm"
]
;
then
[
-n
"
$non_interactive
"
]
||
interactive
=
"--interactive"
fi
# as now, can't install one package from task (and old apt-repo can't install one package)
if
false
&&
[
"
$BASEDISTRNAME
"
=
"alt"
]
&&
[
-z
"
$direct
"
]
;
then
local
task
=
"
$(
docmd eget
-O-
https://eepm.ru/vendor/alt/task
)
"
if
[
-n
"
$task
"
]
;
then
docmd epm
install
$task
return
else
info
"Can't get actual task for ALT, fallback to Korinf"
fi
fi
__epm_korinf_install eepm
}
epm_epm_install_help
()
{
echo
"epm ei [packages] - install packages from EPM based Korinf repository"
...
...
@@ -91,7 +107,7 @@ epm_epm_install() {
case
"
$1
"
in
""
|
epm|eepm
)
# install epm by default
__epm_korinf_install
"eepm"
__epm_korinf_install
_eepm
return
;;
-h
|
--help
)
# HELPCMD: help
...
...
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