mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
kernel-snapshot: simplify _kernver assignment.
This commit is contained in:
parent
384e9eceab
commit
2e8515a899
1 changed files with 1 additions and 5 deletions
|
@ -25,11 +25,7 @@ long_desc="
|
||||||
distfiles="http://www.kernel.org/pub/linux//kernel/v3.0/testing/linux-${_kmajor}-${_kpatch}.tar.xz"
|
distfiles="http://www.kernel.org/pub/linux//kernel/v3.0/testing/linux-${_kmajor}-${_kpatch}.tar.xz"
|
||||||
checksum=7d23bd797592e223f4cf383f6d0cadee9af1d2f408a8ff00ef5e6a9d1b4909b4
|
checksum=7d23bd797592e223f4cf383f6d0cadee9af1d2f408a8ff00ef5e6a9d1b4909b4
|
||||||
|
|
||||||
if [ -n "$revision" ]; then
|
|
||||||
_kernver="${_kmajor}.${_kminor}-${_kpatch}_${revision}"
|
_kernver="${_kmajor}.${_kminor}-${_kpatch}_${revision}"
|
||||||
else
|
|
||||||
_kernver="${_kmajor}.${_kminor}-${_kpatch}"
|
|
||||||
fi
|
|
||||||
kernel_hooks_version="${_kernver}"
|
kernel_hooks_version="${_kernver}"
|
||||||
|
|
||||||
# These files could be modified when an external module is built.
|
# These files could be modified when an external module is built.
|
||||||
|
|
Loading…
Add table
Reference in a new issue