base-files: vkpurge: fix parameter expansion in list_kernels()
This fixes next-kernels from having too much string of their versions stripped. Next-kernel versions have the format "vmlinu[xz]-<ver>-next-<date>". Thus, the string was wrongly shortened to "<date>", instead of the correct "<ver>-next-<date>". Closes: #24298 [via git-merge-pr]
This commit is contained in:
parent
6f5d9b4ad5
commit
67e7b4b86e
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ list_kernels() {
|
|||
case "$installed" in
|
||||
*"$k"*) continue ;;
|
||||
esac
|
||||
kver=${k##*-}
|
||||
kver=${k#*-}
|
||||
case "$kver" in
|
||||
"$running") ;;
|
||||
"*") ;; # /boot isn't mounted -> no vmlinu[xz]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.141
|
||||
revision=2
|
||||
revision=3
|
||||
bootstrap=yes
|
||||
depends="xbps-triggers"
|
||||
short_desc="Void Linux base system files"
|
||||
|
|
Loading…
Reference in a new issue