Merge pull request #2394 from voidlinux/vkpurge-ignore-running
base-files: vkpurge ignore running kernel version
This commit is contained in:
commit
df85e8b89c
2 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ list_kernels()
|
||||||
installed=$(xbps-query -o "$k" 2>/dev/null)
|
installed=$(xbps-query -o "$k" 2>/dev/null)
|
||||||
[ -n "$installed" ] && continue
|
[ -n "$installed" ] && continue
|
||||||
kpkg="$(xbps-uhelper getpkgversion ${_f} 2>/dev/null)"
|
kpkg="$(xbps-uhelper getpkgversion ${_f} 2>/dev/null)"
|
||||||
|
[ "$(uname -r)" = "$kpkg" ] && continue
|
||||||
[ -n "$kpkg" ] && echo "$kpkg"
|
[ -n "$kpkg" ] && echo "$kpkg"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.130
|
version=0.131
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
|
|
Loading…
Reference in a new issue