Changeset 3652


Ignore:
Timestamp:
Feb 22, 2017, 10:30:38 PM (4 months ago)
Author:
bruno
Message:

Fix version boudaries for bootloader analysis

  • replace usage of -gt by -ge to cover the version we compare to !
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/mindi

    r3651 r3652  
    21512151                if [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" ] && [ $dver = "6" ]; then
    21522152                    boottype=grub
    2153                 elif [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" ] && [ $dver -gt 7 ]; then
     2153                elif [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" ] && [ $dver -ge 7 ]; then
    21542154                    boottype=grub2
    2155                 elif [ $dname = "fedora" ] && [ $dver -gt 20 ]; then
     2155                elif [ $dname = "fedora" ] && [ $dver -ge 20 ]; then
    21562156                    boottype=grub2
    2157                 elif [ $dname = "debian" ] && [ $dver -gt 8 ]; then
     2157                elif [ $dname = "debian" ] && [ $dver -ge 8 ]; then
    21582158                    boottype=grub2
    21592159                else
Note: See TracChangeset for help on using the changeset viewer.