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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installed=$(xbps-uhelper -r / version $rmkver)
|
installed=$(xbps-uhelper version "linux${rmkver%*.*}" 2>/dev/null)
|
||||||
if [ -n "$installed" ]; then
|
if [ -n "$installed" -a "$installed" = "$rmkver" ]; then
|
||||||
echo "Kernel $rmkver is currently installed."
|
echo "Kernel $rmkver is currently installed."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.139
|
version=0.139
|
||||||
revision=5
|
revision=6
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
short_desc="Void Linux base system files"
|
short_desc="Void Linux base system files"
|
||||||
|
|
Loading…
Reference in a new issue