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
d0b9056d
Commit
d0b9056d
authored
Aug 04, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add conary package manager support
parent
865a65ac
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
40 additions
and
2 deletions
+40
-2
epm-check
bin/epm-check
+4
-1
epm-filelist
bin/epm-filelist
+3
-0
epm-info
bin/epm-info
+4
-0
epm-install
bin/epm-install
+3
-0
epm-packages
bin/epm-packages
+3
-0
epm-query
bin/epm-query
+5
-1
epm-query_file
bin/epm-query_file
+3
-0
epm-release-upgrade
bin/epm-release-upgrade
+3
-0
epm-remove
bin/epm-remove
+3
-0
epm-search
bin/epm-search
+3
-0
epm-sh-functions
bin/epm-sh-functions
+3
-0
epm-upgrade
bin/epm-upgrade
+3
-0
No files found.
bin/epm-check
View file @
d0b9056d
...
...
@@ -47,7 +47,10 @@ case $PMTYPE in
# sudocmd urpme --auto-orphans
# ;;
zypper-rpm
)
sudocmd zypper verify
||
exit
sudocmd zypper verify
;;
conary
)
sudocmd conary verify
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
...
...
bin/epm-filelist
View file @
d0b9056d
...
...
@@ -62,6 +62,9 @@ __epm_filelist_name()
zypper-rpm
)
CMD
=
"rpm -ql"
;;
conary
)
CMD
=
"conary query --ls"
;;
pacman
)
docmd pacman
-Ql
$pkg_names
|
sed
-e
"s|.* ||g"
return
...
...
bin/epm-info
View file @
d0b9056d
...
...
@@ -67,6 +67,10 @@ case $PMTYPE in
# FIXME: --version=
docmd npackdcl info
--package
=
$pkg_names
;;
conary
)
is_installed
$pkg_names
&&
docmd conary query
$pkg_names
--info
&&
return
docmd conary repquery
$pkg_names
--info
;;
slackpkg
)
docmd /usr/sbin/slackpkg info
$pkg_names
;;
...
...
bin/epm-install
View file @
d0b9056d
...
...
@@ -123,6 +123,9 @@ epm_install_names()
mpkg
)
sudocmd mpkg
install
$@
return
;;
conary
)
sudocmd conary update
$@
return
;;
npackd
)
# FIXME: correct arg
__separate_sudocmd_foreach
"npackdcl add --package="
"npackdcl update --package="
$@
...
...
bin/epm-packages
View file @
d0b9056d
...
...
@@ -70,6 +70,9 @@ case $PMTYPE in
CMD
=
"npackdcl list --status=installed"
# TODO: use search if pkg_filenames is not empty
;;
conary
)
CMD
=
"conary query"
;;
# chocolatey)
# CMD="chocolatey list"
# ;;
...
...
bin/epm-query
View file @
d0b9056d
...
...
@@ -123,7 +123,11 @@ __epm_query_name()
[
-n
"
$short
"
]
&&
CMD
=
"dpkg-query -W --showformat=
\$
{Package}
\n
"
;;
npackd
)
CMD
=
"npackdcl path --package=
$@
"
docmd
"npackdcl path --package=
$@
"
return
;;
conary
)
CMD
=
"conary query"
;;
brew
)
warning
"fix query"
...
...
bin/epm-query_file
View file @
d0b9056d
...
...
@@ -84,6 +84,9 @@ __do_query()
pacman
)
CMD
=
"pacman -Qo"
;;
conary
)
CMD
=
"conary query --path"
;;
slackpkg
)
# note: need remove leading slash for grep
docmd
grep
-R
--
"
$(
echo
$@
|
sed
-e
's|^/\+||g'
)
"
/var/log/packages |
sed
-e
"s|/var/log/packages/||g"
...
...
bin/epm-release-upgrade
View file @
d0b9056d
...
...
@@ -60,6 +60,9 @@ epm_release_upgrade()
pacman
)
epm Upgrade
;;
conary
)
epm Upgrade
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
;;
...
...
bin/epm-remove
View file @
d0b9056d
...
...
@@ -82,6 +82,9 @@ epm_remove_names()
mpkg
)
sudocmd mpkg remove
$@
return
;;
conary
)
sudocmd conary erase
$@
return
;;
npackd
)
sudocmd npackdcl remove
--package
=
$@
return
;;
...
...
bin/epm-search
View file @
d0b9056d
...
...
@@ -52,6 +52,9 @@ case $PMTYPE in
mpkg
)
CMD
=
"mpkg search"
;;
conary
)
CMD
=
"conary repquery"
;;
npackd
)
docmd npackdcl search
--query
=
"
$string
"
--status
=
all
return
...
...
bin/epm-sh-functions
View file @
d0b9056d
...
...
@@ -279,6 +279,9 @@ case $DISTRNAME in
SUSE|SLED|SLES
)
CMD
=
"zypper-rpm"
;;
ForesightLinux|rPathLinux
)
CMD
=
"conary"
;;
Windows
)
CMD
=
"chocolatey"
;;
...
...
bin/epm-upgrade
View file @
d0b9056d
...
...
@@ -51,6 +51,9 @@ epm_upgrade()
emerge
)
CMD
=
"emerge -NuDa world"
;;
conary
)
CMD
=
"conary updateall"
;;
pkgsrc
)
CMD
=
"freebsd-update fetch install"
;;
...
...
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