[SM-Discuss] libcap $KVER?
Juuso Alasuutari
iuso at sourcemage.org
Sun Aug 19 05:18:28 EDT 2007
On Saturday 18 August 2007 17:09:27 Treeve Jelbert wrote:
> On Saturday 18 August 2007 15:43:14 Juuso Alasuutari wrote:
<snip>
> > Ookay I see it. I don't know _why_ I didn't see this line at the
> > beginning of libcap DETAILS yesterday, maybe I was too tired. But:
> >
> > SPELL=libcap
> > KVER=$(installed_version linux | cut -c-3)
> > if [[ $KVER == 2.4 ]];then
> > VERSION=1.10
> > else
> > VERSION=1.97
> > fi
> > SOURCE=$SPELL-$VERSION.tar.bz2
> > SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
> >
> > SOURCE_URL[0]=http://www.kernel.org/pub/linux/libs/security/linux-privs/k
> >er nel-${KVER}/$SOURCE
> >
> > As you see, that will fail if the linux spell isn't installed.
> > installed_version should be replaced with get_kernel_version.
>
> fixed
Thanks a lot. :)
--
Juuso Alasuutari
[[ Source Mage GNU/Linux ]]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20070819/f5ef874d/attachment.bin
More information about the SM-Discuss
mailing list