VirtualBox

Ignore:
Timestamp:
Oct 20, 2015 11:36:00 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103532
Message:

Installers/linux: fixes to check_module_dependencies.sh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/scripts/check_module_dependencies.sh

    r56829 r58332  
    358358        PATTERN_HEADERS=
    359359        PATTERN_HEADERS_META=
    360     else abort "Linux distribution base type not recognised."
     360    else
     361        echo "Linux distribution base type not recognised."
     362        exit 0
    361363    fi
    362364}
     
    375377    case "$GET_KERN_PACKAGE" in
    376378    ?*)
    377         eval $GET_KERN_PACKAGE ;;
     379        eval $GET_KERN_PACKAGE
     380        ;;
    378381    "")
    379         abort "Unable to determine the software packaging system in use." ;;
     382        echo "Unable to determine the software packaging system in use."
     383        exit 0
     384        ;;
    380385    esac
    381386    # Needed for many installers
    382387    KERN_PACKAGE_BASE="${KERN_PACKAGE%%$KERN_VER_BASE*}"
    383388    KERN_RPM_SUFFIX="${KERN_PACKAGE#"$KERN_PACKAGE_BASE"}"
    384     KERN_DEBIAN_SUFFIX="$(expr "$KERN_VER_EXTRA" : '-[0-9]*\(.*\)')"
     389    KERN_DEBIAN_SUFFIX="$(expr "$KERN_VER_EXTRA" : '-[^-]*\(.*\)')"
    385390    INSTALL_GCC_MAKE=$(eval echo "$PATTERN_GCC_MAKE")
    386391    INSTALL_HEADERS=$(eval echo "$PATTERN_HEADERS")
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette