mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/linux-lts: simplify _kernver definition
There was no version that didn't follow the `*.*.*` format in years. I think `*.*.0` is used instead of `*.*`.
This commit is contained in:
parent
a412472859
commit
edede1b81c
@ -3,10 +3,7 @@
|
||||
_flavor=lts
|
||||
pkgname=linux-$_flavor
|
||||
pkgver=6.6.35
|
||||
case $pkgver in
|
||||
*.*.*) _kernver=${pkgver%.*};;
|
||||
*.*) _kernver=$pkgver;;
|
||||
esac
|
||||
_kernver=${pkgver%.*}
|
||||
pkgrel=0
|
||||
pkgdesc="Linux lts kernel"
|
||||
url="https://www.kernel.org"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user