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
Иван Мажукин
eepm
Commits
5ee9f594
Commit
5ee9f594
authored
Dec 12, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm ei: improve messages
parent
31a6807b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
epm-epm_install
bin/epm-epm_install
+7
-4
No files found.
bin/epm-epm_install
View file @
5ee9f594
...
@@ -33,6 +33,7 @@ __epm_korinf_site_mask() {
...
@@ -33,6 +33,7 @@ __epm_korinf_site_mask() {
local
URL
=
"
$EPM_KORINF_REPO_URL
/
$archprefix$DISTRNAME
/
$DISTRVERSION
"
local
URL
=
"
$EPM_KORINF_REPO_URL
/
$archprefix$DISTRNAME
/
$DISTRVERSION
"
if
!
eget
--check-url
"
$URL
"
;
then
if
!
eget
--check-url
"
$URL
"
;
then
tURL
=
"
$EPM_KORINF_REPO_URL
/
$archprefix$BASEDISTRNAME
/
$DISTRREPONAME
"
tURL
=
"
$EPM_KORINF_REPO_URL
/
$archprefix$BASEDISTRNAME
/
$DISTRREPONAME
"
info
"Can't access to
$URL
, trying get by base distro name ..."
docmd eget
--check-url
"
$tURL
"
&&
URL
=
"
$tURL
"
docmd eget
--check-url
"
$tURL
"
&&
URL
=
"
$tURL
"
fi
fi
eget
--list
--latest
"
$URL
/
$MASK
*.
$PKGFORMAT
"
eget
--list
--latest
"
$URL
/
$MASK
*.
$PKGFORMAT
"
...
@@ -64,6 +65,7 @@ __epm_korinf_install_eepm()
...
@@ -64,6 +65,7 @@ __epm_korinf_install_eepm()
{
{
if
[
"
$BASEDISTRNAME
"
=
"alt"
]
&&
[
"
$DISTRVERSION
"
!=
"Sisyphus"
]
&&
[
"
$EPMMODE
"
=
"package"
]
;
then
if
[
"
$BASEDISTRNAME
"
=
"alt"
]
&&
[
"
$DISTRVERSION
"
!=
"Sisyphus"
]
&&
[
"
$EPMMODE
"
=
"package"
]
;
then
info
"Checking eepm package status ..."
if
epm status
--original
eepm
;
then
if
epm status
--original
eepm
;
then
warning
'Using external (Korinf) repo is forbidden for stable ALT branch $DISTRVERSION.'
warning
'Using external (Korinf) repo is forbidden for stable ALT branch $DISTRVERSION.'
info
"Check https://bugzilla.altlinux.org/44314 for reasons."
info
"Check https://bugzilla.altlinux.org/44314 for reasons."
...
@@ -82,11 +84,12 @@ __epm_korinf_install_eepm()
...
@@ -82,11 +84,12 @@ __epm_korinf_install_eepm()
[
-n
"
$interactive
"
]
||
non_interactive
=
"--auto"
[
-n
"
$interactive
"
]
||
non_interactive
=
"--auto"
fi
fi
# TODO: installing via task
# as now, can't install one package from task
# as now, can't install one package from task
if
false
&&
[
"
$BASEDISTRNAME
"
=
"alt"
]
&&
[
-z
"
$direct
"
]
;
then
if
false
&&
[
"
$BASEDISTRNAME
"
=
"alt"
]
&&
[
-z
"
$direct
"
]
;
then
local
task
=
"
$(
docmd eget
-O-
https://eepm.ru/vendor/alt/task
)
"
local
task
=
"
$(
docmd eget
-O-
https://eepm.ru/vendor/alt/task
)
"
if
[
-n
"
$task
"
]
;
then
if
[
-n
"
$task
"
]
;
then
docmd epm
install
$task
docmd epm
install
$task
:eepm
return
return
else
else
info
"Can't get actual task for ALT, fallback to Korinf"
info
"Can't get actual task for ALT, fallback to Korinf"
...
@@ -94,7 +97,7 @@ __epm_korinf_install_eepm()
...
@@ -94,7 +97,7 @@ __epm_korinf_install_eepm()
fi
fi
pkg_list
=
"eepm"
pkg_list
=
"eepm"
#
don't lose eepm-* if installed
#
preserve already installed eepm-*
for
i
in
repack play
;
do
for
i
in
repack play
;
do
is_installed eepm-
$i
&&
pkg_list
=
"
$pkg_list
eepm-
$i
"
is_installed eepm-
$i
&&
pkg_list
=
"
$pkg_list
eepm-
$i
"
done
done
...
@@ -114,8 +117,8 @@ Default Korinf repository: $EPM_KORINF_REPO_URL
...
@@ -114,8 +117,8 @@ Default Korinf repository: $EPM_KORINF_REPO_URL
Examples:
Examples:
epm ei [epm|eepm] - install latest eepm (default action)
epm ei [epm|eepm] - install latest eepm (default action)
epm ei <package1> [<package2>...] - install package(s) from default Korinf repo
epm ei <package1> [<package2>...] - install package(s) from default Korinf repo
epm
http://someurl.ru <package>
- install package(s) from a repo defined by URL
epm
ei http://someurl.ru <package>
- install package(s) from a repo defined by URL
epm
--list <package mask>
- list available packages by mask
epm
ei --list <package mask>
- list available packages by mask
'
'
}
}
...
...
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