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
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 @@
# You can set ROOTDIR to root system dir
#ROOTDIR=
# TODO: check /etc/system-release
# Check for DISTRO specific file in /etc
distro
()
{
...
...
@@ -81,7 +83,7 @@ pkgtype()
debian|ubuntu|mint|runtu|mcst|astra
)
echo
"deb"
;;
alt|asplinux|suse|mandriva|rosa|mandrake|pclinux|sled|sles
)
echo
"rpm"
;;
fedora|redhat|scientific|centos|rhel|goslinux
)
fedora|redhat|scientific|centos|rhel|goslinux
|amzn
)
echo
"rpm"
;;
*
)
echo
"rpm"
;;
esac
...
...
bin/epm-sh-functions
View file @
359cd35b
...
...
@@ -503,7 +503,7 @@ case $DISTRNAME in
ArchLinux
)
CMD
=
"pacman"
;;
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
)
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
|Amzn
)
CMD
=
"yum-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
# ArchLinux)
# CMD="pacman"
# ;;
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
)
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux
|Amzn
)
CMD
=
"service-chkconfig"
;;
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