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
359cd35b
Commit
359cd35b
authored
Nov 16, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Amzn (Amazon Linux AMI) support
parent
a36cc251
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
distr_info
bin/distr_info
+3
-1
epm-sh-functions
bin/epm-sh-functions
+1
-1
serv
bin/serv
+1
-1
No files found.
bin/distr_info
View file @
359cd35b
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
# You can set ROOTDIR to root system dir
# You can set ROOTDIR to root system dir
#ROOTDIR=
#ROOTDIR=
# TODO: check /etc/system-release
# Check for DISTRO specific file in /etc
# Check for DISTRO specific file in /etc
distro
()
distro
()
{
{
...
@@ -81,7 +83,7 @@ pkgtype()
...
@@ -81,7 +83,7 @@ pkgtype()
debian|ubuntu|mint|runtu|mcst|astra
)
echo
"deb"
;;
debian|ubuntu|mint|runtu|mcst|astra
)
echo
"deb"
;;
alt|asplinux|suse|mandriva|rosa|mandrake|pclinux|sled|sles
)
alt|asplinux|suse|mandriva|rosa|mandrake|pclinux|sled|sles
)
echo
"rpm"
;;
echo
"rpm"
;;
fedora|redhat|scientific|centos|rhel|goslinux
)
fedora|redhat|scientific|centos|rhel|goslinux
|amzn
)
echo
"rpm"
;;
echo
"rpm"
;;
*
)
echo
"rpm"
;;
*
)
echo
"rpm"
;;
esac
esac
...
...
bin/epm-sh-functions
View file @
359cd35b
...
@@ -503,7 +503,7 @@ case $DISTRNAME in
...
@@ -503,7 +503,7 @@ case $DISTRNAME in
ArchLinux
)
ArchLinux
)
CMD
=
"pacman"
CMD
=
"pacman"
;;
;;
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
)
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
|Amzn
)
CMD
=
"yum-rpm"
CMD
=
"yum-rpm"
which dnf 2>/dev/null
>
/dev/null
&&
test
-d
/var/lib/dnf/yumdb
&&
CMD
=
dnf-rpm
which dnf 2>/dev/null
>
/dev/null
&&
test
-d
/var/lib/dnf/yumdb
&&
CMD
=
dnf-rpm
;;
;;
...
...
bin/serv
View file @
359cd35b
...
@@ -73,7 +73,7 @@ case $DISTRNAME in
...
@@ -73,7 +73,7 @@ case $DISTRNAME in
# ArchLinux)
# ArchLinux)
# CMD="pacman"
# CMD="pacman"
# ;;
# ;;
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
)
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
|Amzn
)
CMD
=
"service-chkconfig"
CMD
=
"service-chkconfig"
;;
;;
VoidLinux
)
VoidLinux
)
...
...
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