VirtualBox

Changeset 36668 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Apr 14, 2011 10:25:17 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71157
Message:

Additions/linux/installer: fix an error message on SUSE guests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r36603 r36668  
    183183        printf "The missing package can be probably installed with\nyum install kernel-devel-$KERN_VER\n"
    184184    elif [ "$system" = "suse" ]; then
    185         printf "The missing package can be probably installed with\nzypper install kernel-$KERN_VER\n"
     185        KERN_VER_SUSE=`echo "$KERN_VER" | sed 's/.*-\([^-]*\)/\1/g'`
     186        KERN_VER_BASE=`echo "$KERN_VER" | sed 's/\(.*\)-[^-]*/\1/g'`
     187        printf "The missing package can be probably installed with\nzypper install kernel-$KERN_VER_SUSE-devel-$KERN_VER_BASE\n"
    186188    elif [ "$system" = "debian" ]; then
    187189        printf "The missing package can be probably installed with\napt-get install linux-headers-$KERN_VER\n"
Note: See TracChangeset for help on using the changeset viewer.

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