Changeset 3599


Ignore:
Timestamp:
Jul 19, 2016, 1:12:25 AM (3 years ago)
Author:
bruno
Message:
  • Fix a syntax issue (fi missing)
  • Adds similar support for CentOS than for RHEL on bootloader choice (Brett Gamlin)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3598 r3599  
    14921492            else
    14931493                MakeISOErrors
     1494            fi
    14941495        else
    14951496            LogAll "INFO: Invoking $CMD ."
     
    21472148                dname=`pbdistrocheck | grep -E '^Name:' | cut -d':' -f2`
    21482149                dver=`pbdistrocheck | grep -E '^Ver:' | cut -d':' -f2`
    2149                 if [ $dname = "rhel" || $dname = "centos" ] && [ $dver = "6" ]; then
     2150                if [ $dname = "rhel" -o $dname = "centos" ] && [ $dver = "6" ]; then
    21502151                    boottype=grub
    2151                 elif [ $dname = "rhel" || $dname = "centos" ] && [ $dver = "7" ]; then
     2152                elif [ $dname = "rhel" -o $dname = "centos" ] && [ $dver = "7" ]; then
    21522153                    boottype=grub2
    21532154                elif [ $dname = "debian" ] && [ $dver = "8" ]; then
Note: See TracChangeset for help on using the changeset viewer.