diff --git a/srcpkgs/base-files/files/vkpurge b/srcpkgs/base-files/files/vkpurge index c19cd0dddc..ea954322a2 100644 --- a/srcpkgs/base-files/files/vkpurge +++ b/srcpkgs/base-files/files/vkpurge @@ -59,8 +59,8 @@ remove_kernel() exit 0 fi - installed=$(xbps-uhelper -r / version $rmkver) - if [ -n "$installed" ]; then + installed=$(xbps-uhelper version "linux${rmkver%*.*}" 2>/dev/null) + if [ -n "$installed" -a "$installed" = "$rmkver" ]; then echo "Kernel $rmkver is currently installed." exit 0 fi diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index 78cae33ff2..1b9abb1ad2 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -1,7 +1,7 @@ # Template file for 'base-files' pkgname=base-files version=0.139 -revision=5 +revision=6 bootstrap=yes depends="xbps-triggers" short_desc="Void Linux base system files"