scripts/install.sh: add RHEL7.
Fixes
@@ -163,6 +163,9 @@ main() {
OS="$ID"
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
PACKAGETYPE="dnf"
+ if [ "$VERSION" = "7" ]; then
+ PACKAGETYPE="yum"
+ fi
;;
fedora)
OS="$ID"
@@ -326,7 +329,8 @@ main() {
fi
;;
rhel)
- if [ "$VERSION" != "8" ] && \
+ if [ "$VERSION" != "7" ] && \
+ [ "$VERSION" != "8" ] && \
[ "$VERSION" != "9" ]
then
OS_UNSUPPORTED=1
