Utility scripts adapted to run on CentOS 7 (#2112)

This commit is contained in:
Eliesemoule 2020-08-01 20:12:44 +00:00 committed by GitHub
parent 0e5197123d
commit 1986b5ecac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 69 additions and 25 deletions

View file

@ -546,7 +546,7 @@ EOF
eval "echo \"$(< "${TEMPLATES}/${SERVICE_SYSTEMD_UNIT}")\"" | prefix_stdout " "
echo -e "\n.. END install systemd unit"
# for DIST_NAME in ubuntu-20.04 arch fedora; do
# for DIST_NAME in ubuntu-20.04 arch fedora centos; do
# (
# DIST_ID=${DIST_NAME%-*}
# DIST_VERS=${DIST_NAME#*-}