add nvidia-kernel hack to the same virtualbox-kernel one

This commit is contained in:
chess.griffin 2009-01-15 03:03:27 +00:00
parent 10d840b18b
commit ffc002b1e9

View file

@ -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