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
90f8eac6
Commit
90f8eac6
authored
Nov 12, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: add apm support
parent
4b153e1f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
epm-info
bin/epm-info
+3
-0
epm-list_available
bin/epm-list_available
+4
-0
epm-search
bin/epm-search
+4
-0
epm-upgrade
bin/epm-upgrade
+3
-0
No files found.
bin/epm-info
View file @
90f8eac6
...
@@ -56,6 +56,9 @@ case $PMTYPE in
...
@@ -56,6 +56,9 @@ case $PMTYPE in
is_installed
$pkg_names
&&
docmd dpkg
-p
$pkg_names
&&
return
is_installed
$pkg_names
&&
docmd dpkg
-p
$pkg_names
&&
return
docmd apt-cache show
$pkg_names
docmd apt-cache show
$pkg_names
;;
;;
apm
)
docmd apm system info
$pkg_names
;;
aptitude-dpkg
)
aptitude-dpkg
)
if
[
-n
"
$pkg_files
"
]
;
then
if
[
-n
"
$pkg_files
"
]
;
then
docmd dpkg
-I
$pkg_files
docmd dpkg
-I
$pkg_files
...
...
bin/epm-list_available
View file @
90f8eac6
...
@@ -72,6 +72,10 @@ case $PMTYPE in
...
@@ -72,6 +72,10 @@ case $PMTYPE in
docmd apt-cache search
.
docmd apt-cache search
.
fi
fi
;;
;;
apm
)
# TODO: --format json?
CMD
=
"apm system list --limit 100000"
;;
dnf-
*
)
dnf-
*
)
warmup_rpmbase
warmup_rpmbase
if
[
-n
"
$short
"
]
;
then
if
[
-n
"
$short
"
]
;
then
...
...
bin/epm-search
View file @
90f8eac6
...
@@ -28,6 +28,10 @@ case $PMTYPE in
...
@@ -28,6 +28,10 @@ case $PMTYPE in
apt-rpm|apt-dpkg
)
apt-rpm|apt-dpkg
)
CMD
=
"apt-cache search --"
CMD
=
"apt-cache search --"
;;
;;
apm
)
docmd apm system search
--
$string
return
;;
aptitude-dpkg
)
aptitude-dpkg
)
CMD
=
"aptitude search --"
CMD
=
"aptitude search --"
;;
;;
...
...
bin/epm-upgrade
View file @
90f8eac6
...
@@ -141,6 +141,9 @@ epm_upgrade()
...
@@ -141,6 +141,9 @@ epm_upgrade()
local
APTOPTIONS
=
"
$dryrun
$(
subst_option non_interactive
-y
)
$(
subst_option debug
"-V -o Debug::pkgMarkInstall=1 -o Debug::pkgProblemResolver=1"
)
"
local
APTOPTIONS
=
"
$dryrun
$(
subst_option non_interactive
-y
)
$(
subst_option debug
"-V -o Debug::pkgMarkInstall=1 -o Debug::pkgProblemResolver=1"
)
"
CMD
=
"apt-get
$APTOPTIONS
$noremove
$force_yes
dist-upgrade"
CMD
=
"apt-get
$APTOPTIONS
$noremove
$force_yes
dist-upgrade"
;;
;;
apm
)
CMD
=
"apm system upgrade"
;;
aptitude-dpkg
)
aptitude-dpkg
)
CMD
=
"aptitude dist-upgrade"
CMD
=
"aptitude dist-upgrade"
;;
;;
...
...
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