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
5e60648b
Commit
5e60648b
authored
Jul 27, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add initial Slackware support (pkgtool)
parent
cb4c0238
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
0 deletions
+17
-0
epm-install
bin/epm-install
+6
-0
epm-remove
bin/epm-remove
+3
-0
epm-sh-functions
bin/epm-sh-functions
+3
-0
epm-simulate
bin/epm-simulate
+2
-0
epm-upgrade
bin/epm-upgrade
+3
-0
No files found.
bin/epm-install
View file @
5e60648b
...
...
@@ -67,6 +67,9 @@ epm_install_names()
pacman
)
docmd
$SUDO
pacman
-S
$@
return
;;
pkgtool
)
docmd
$SUDO
installpkg
$@
return
;;
*
)
fatal
"Do not known install command for
$PMTYPE
"
;;
...
...
@@ -95,6 +98,9 @@ epm_ni_install_names()
pacman
)
docmd
$SUDO
pacman
-S
--noconfirm
$@
return
;;
pkgtool
)
docmd
$SUDO
installpkg
$@
return
;;
*
)
fatal
"Do not known appropriate install command for
$PMTYPE
"
;;
...
...
bin/epm-remove
View file @
5e60648b
...
...
@@ -94,6 +94,9 @@ case $PMTYPE in
pacman
)
CMD
=
"pacman -R --noconfirm"
;;
pkgtool
)
CMD
=
"removepkg"
;;
*
)
fatal
"Do not known command for
$PMTYPE
"
;;
...
...
bin/epm-sh-functions
View file @
5e60648b
...
...
@@ -166,6 +166,9 @@ case $DISTRNAME in
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific
)
CMD
=
"yum-rpm"
;;
Slackware
)
CMD
=
"pkgtool"
;;
SUSE|SLED|SLES
)
CMD
=
"zypper-rpm"
;;
...
...
bin/epm-simulate
View file @
5e60648b
...
...
@@ -44,6 +44,8 @@ epm_simulate()
showcmd
$SUDO
pacman
-v
-S
$pkg_filenames
echo
no |
$SUDO
pacman
-v
-S
$pkg_filenames
return
;;
pkgtool
)
return
0
;;
*
)
fatal
"Do not known simulate command for
$PMTYPE
"
;;
...
...
bin/epm-upgrade
View file @
5e60648b
...
...
@@ -38,6 +38,9 @@ epm_upgrade()
zypper-rpm
)
CMD
=
"zypper dist-upgrade"
;;
pacman
)
CMD
=
"zypper -S -u"
;;
*
)
fatal
"Do not known 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