Install images withour revision files as e.g. '3.1.0'

This commit is contained in:
Ben Gras 2005-10-14 17:38:08 +00:00
parent 5903f48153
commit 4358a8373f

View File

@ -70,6 +70,7 @@ hdboot)
if [ -z "$revision" ]
then
target="${version}"
revision=0
elif [ -f $rootdir/boot/image/$target ]
then
@ -80,8 +81,8 @@ hdboot)
exit 0
fi
revision=`expr $revision + 1`
target="${version}r${revision}"
fi
target="${version}r${revision}"
set -- `ls -t $rootdir/boot/image`