Merge pull request #5869 from Duncaen/vkpurge
base-files: fix vkpurge rm installed check
This commit is contained in:
commit
609e551bef
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue