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
6650d756
Commit
6650d756
authored
Dec 27, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add initial deepsolver support
parent
d4256403
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
0 deletions
+22
-0
epm-install
bin/epm-install
+3
-0
epm-remove
bin/epm-remove
+3
-0
epm-repolist
bin/epm-repolist
+3
-0
epm-sh-functions
bin/epm-sh-functions
+10
-0
epm-update
bin/epm-update
+3
-0
No files found.
bin/epm-install
View file @
6650d756
...
...
@@ -57,6 +57,9 @@ epm_install_names()
apt-rpm|apt-dpkg
)
sudocmd apt-get
install
$@
return
;;
deepsolver-rpm
)
sudocmd ds-install
$@
return
;;
urpm-rpm
)
sudocmd urpmi
$@
return
;;
...
...
bin/epm-remove
View file @
6650d756
...
...
@@ -49,6 +49,9 @@ epm_remove_names()
apt-rpm|apt-dpkg
)
sudocmd apt-get remove
--purge
$@
return
;;
deepsolver-rpm
)
sudocmd ds-remove
$@
return
;;
urpm-rpm
)
sudocmd urpme
$@
return
;;
...
...
bin/epm-repolist
View file @
6650d756
...
...
@@ -34,6 +34,9 @@ case $PMTYPE in
apt-rpm
)
docmd apt-repo list
;;
deepsolver-rpm
)
docmd ds-conf
;;
apt-dpkg
)
showcmd
cat
/etc/apt/sources.list
*
print_apt_sources_list /etc/apt/sources.list /etc/apt/sources.list.d/
*
.list
...
...
bin/epm-sh-functions
View file @
6650d756
...
...
@@ -180,9 +180,19 @@ set_pm_type()
[
-n
"
$DISTRVERSION
"
]
||
DISTRVERSION
=
$(
$DISTRVENDOR
-v
)
set_target_pkg_env
# override package manager detection result
if
[
-n
"
$FORCEPM
"
]
;
then
PMTYPE
=
$FORCEPM
return
fi
case
$DISTRNAME
in
ALTLinux|PCLinux
)
CMD
=
"apt-rpm"
#which deepsolver 2>/dev/null >/dev/null && CMD=deepsolver-rpm
;;
PCLinux
)
CMD
=
"apt-rpm"
;;
Ubuntu|Debian|Mint
)
CMD
=
"apt-dpkg"
...
...
bin/epm-update
View file @
6650d756
...
...
@@ -49,6 +49,9 @@ case $PMTYPE in
slackpkg
)
sudocmd /usr/sbin/slackpkg update
;;
deepsolver-rpm
)
sudocmd ds-update
;;
*
)
fatal
"Do not known update command for
$PMTYPE
"
;;
...
...
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