Merge pull request #5869 from Duncaen/vkpurge

base-files: fix vkpurge rm installed check
This commit is contained in:
Enno Boland 2017-03-08 10:08:13 +01:00 committed by GitHub
commit 609e551bef
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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"