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
854d7792
Commit
854d7792
authored
Feb 17, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distr_info: add Alma Linux support
parent
9bcc1c5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
distr_info
bin/distr_info
+2
-1
No files found.
bin/distr_info
View file @
854d7792
...
...
@@ -109,7 +109,7 @@ case $DISTRIB_ID in
ArchLinux
)
CMD
=
"pacman"
;;
Fedora|FedoraLinux|LinuxXP|ASPLinux|CentOS|OracleLinux|RockyLinux|RHEL|Scientific|GosLinux|Amzn|RedOS
)
Fedora|FedoraLinux|LinuxXP|ASPLinux|CentOS|OracleLinux|RockyLinux|
AlmaLinux|
RHEL|Scientific|GosLinux|Amzn|RedOS
)
CMD
=
"dnf-rpm"
hascommand dnf
||
CMD
=
yum-rpm
[
"
$DISTRIB_ID
/
$DISTRIB_RELEASE
"
=
"CentOS/7"
]
&&
CMD
=
yum-rpm
...
...
@@ -217,6 +217,7 @@ normalize_name()
[
"
$1
"
=
"CentOS Linux"
]
&&
echo
"CentOS"
&&
return
[
"
$1
"
=
"Rocky Linux"
]
&&
echo
"RockyLinux"
&&
return
[
"
$1
"
=
"Oracle Linux"
]
&&
echo
"OracleLinux"
&&
return
[
"
$1
"
=
"Alma Linux"
]
&&
echo
"AlmaLinux"
&&
return
#echo "${1// /}"
echo
"
$1
"
|
sed
-e
"s/ //g"
}
...
...
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