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
48913b2a
Commit
48913b2a
authored
Aug 01, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install: drop DISTRNAME using
parent
229efded
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
epm-install
bin/epm-install
+7
-12
No files found.
bin/epm-install
View file @
48913b2a
...
...
@@ -74,7 +74,7 @@ epm_install_names()
docmd
$SUDO
mpkg
install
$@
return
;;
pkgtool
)
docmd
$SUDO
installpkg
$@
docmd
$SUDO
slackpkg
install
$@
return
;;
*
)
fatal
"Do not known install command for
$PMTYPE
"
...
...
@@ -82,6 +82,7 @@ epm_install_names()
esac
}
# Non interactive install
epm_ni_install_names
()
{
[
-z
"
$1
"
]
&&
return
...
...
@@ -117,20 +118,11 @@ epm_install_files()
{
[
-z
"
$1
"
]
&&
return
case
$
DISTRNAM
E
in
ALTLinux
)
case
$
PMTYP
E
in
apt-rpm
)
docmd
$SUDO
rpm
-Uvh
--force
$@
&&
return
docmd
$SUDO
apt-get
install
$@
return
;;
PCLinux
)
docmd
$SUDO
rpm
-Uvh
--force
$@
return
;;
FreeBSD
)
docmd
$SUDO
pkg_add
$@
return
;;
esac
case
$PMTYPE
in
apt-dpkg
)
docmd
$SUDO
dpkg
-i
$@
docmd
$SUDO
apt-get
-f
install
...
...
@@ -139,6 +131,9 @@ epm_install_files()
docmd
$SUDO
rpm
-Uvh
--force
$@
&&
return
docmd
$SUDO
yum
--nogpgcheck
local install
$@
return
;;
pkg_add
)
docmd
$SUDO
pkg_add
$@
return
;;
pacman
)
docmd
$SUDO
pacman
-U
$@
return
;;
...
...
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