From ffc002b1e9e3f8715743fcb5b39da669bed27699 Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Thu, 15 Jan 2009 03:03:27 +0000 Subject: [PATCH] add nvidia-kernel hack to the same virtualbox-kernel one --- src/usr/bin/sbopkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index 500e8ef..2891c00 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -360,7 +360,7 @@ potential updates..." >> $UPDATELIST VERSION=$(echo $VERSION | sed -e 's/[ #}\t].*$//;s/^.*://;s/-/./g') NEWSRCVER="" fi - if [ $NAME = "virtualbox-kernel" ]; then + if [[ $NAME == "virtualbox-kernel" || $NAME == "nvidia-kernel" ]]; then UNAME="$(echo $(uname -r) | sed -e 's/-/_/')" VERSION="$(echo ${VERSION}_${UNAME})" fi