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
1f356249
Commit
1f356249
authored
Oct 21, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-install: improve backends list, fix dnf5 support
parent
a439b4fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
epm-install
bin/epm-install
+5
-1
No files found.
bin/epm-install
View file @
1f356249
...
@@ -73,7 +73,7 @@ process_package_arguments() {
...
@@ -73,7 +73,7 @@ process_package_arguments() {
local
package_groups
local
package_groups
declare
-A
package_groups
declare
-A
package_groups
# ONLY supported backend in short form?
# ONLY supported backend in short form?
VALID_BACKENDS
=
"apt-rpm apt-dpkg aptitude-dpkg deepsolver-rpm urpm-rpm packagekit pkgsrc pkgng redox-pkg emerge pacman aura yum-rpm dnf-rpm snappy zypper-rpm mpkg eopkg conary npackd slackpkg homebrew opkg nix apk tce guix termux-pkg aptcyg xbps appget winget"
VALID_BACKENDS
=
"apt-rpm apt-dpkg ap
m stplr ap
titude-dpkg deepsolver-rpm urpm-rpm packagekit pkgsrc pkgng redox-pkg emerge pacman aura yum-rpm dnf-rpm snappy zypper-rpm mpkg eopkg conary npackd slackpkg homebrew opkg nix apk tce guix termux-pkg aptcyg xbps appget winget"
for
arg
in
"
$@
"
;
do
for
arg
in
"
$@
"
;
do
pmtype
=
$PMTYPE
pmtype
=
$PMTYPE
name
=
"
$arg
"
name
=
"
$arg
"
...
@@ -83,6 +83,10 @@ process_package_arguments() {
...
@@ -83,6 +83,10 @@ process_package_arguments() {
# FIXME
# FIXME
if
echo
"
$arg
"
|
grep
-q
"^[a-z][a-z][a-z]*:"
&&
echo
"
$VALID_BACKENDS
"
|
grep
-qw
"
$tpmtype
"
;
then
if
echo
"
$arg
"
|
grep
-q
"^[a-z][a-z][a-z]*:"
&&
echo
"
$VALID_BACKENDS
"
|
grep
-qw
"
$tpmtype
"
;
then
pmtype
=
$tpmtype
pmtype
=
$tpmtype
# copied from distr_info
if
[
"
$pmtype
"
=
"dnf-rpm"
]
&&
a
=
dnf
--version
|
grep
-qi
"dnf5"
;
then
pmtype
=
"dnf5-rpm"
fi
name
=
$(
echo
"
$arg
"
|
cut
-d
:
-f2
)
name
=
$(
echo
"
$arg
"
|
cut
-d
:
-f2
)
fi
fi
;;
;;
...
...
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