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
a7c93b96
Commit
a7c93b96
authored
Jul 31, 2012
by
Danil Mikhailov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Slackware and add more distr in search
parent
de0d7b89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
7 deletions
+25
-7
epm-install
bin/epm-install
+7
-1
epm-remove
bin/epm-remove
+1
-1
epm-search
bin/epm-search
+17
-5
No files found.
bin/epm-install
View file @
a7c93b96
...
...
@@ -105,7 +105,7 @@ epm_ni_install_names()
docmd
$SUDO
pacman
-S
--noconfirm
$@
return
;;
pkgtool
)
docmd
$SUDO
installpkg
$@
docmd
$SUDO
slackpkg
install
$@
return
;;
*
)
fatal
"Do not known appropriate install command for
$PMTYPE
"
...
...
@@ -142,6 +142,12 @@ epm_install_files()
pacman
)
docmd
$SUDO
pacman
-U
$@
return
;;
pkgtool
)
docmd
$SUDO
installpkg
$@
return
;;
*
)
fatal
"Do not known appropriate install command for
$PMTYPE
"
;;
esac
# other systems can install file package via ordinary command
...
...
bin/epm-remove
View file @
a7c93b96
...
...
@@ -90,7 +90,7 @@ epm_remove_names()
docmd
$SUDO
mpkg remove
$@
return
;;
pkgtool
)
docmd
$SUDO
removepkg
$@
docmd
$SUDO
slackpkg remove
$@
return
;;
*
)
fatal
"Do not known command for
$PMTYPE
"
...
...
bin/epm-search
View file @
a7c93b96
...
...
@@ -28,18 +28,30 @@ case $PMTYPE in
apt-rpm|apt-dpkg
)
CMD
=
"apt-cache search"
;;
yum-rpm
)
CMD
=
"yum search"
;;
urpm-rpm
)
CMD
=
"urpmq -y"
;;
zypper-rpm
)
CMD
=
"zypper search"
pkg_add
)
CMD
=
"pkg_info -x"
;;
emerge
)
CMD
=
"emerge --search"
;;
pacman
)
CMD
=
"pacman -Ss"
;;
yum-rpm
)
CMD
=
"yum search"
;;
zypper-rpm
)
CMD
=
"zypper search"
;;
mpkg
)
CMD
=
"mpkg search"
;;
pkgtool
)
CMD
=
"slackpkg search"
;;
*
)
fatal
"Do not known search 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