base-files: don't clear screen in issue, vkpurge improvements.
This commit is contained in:
parent
1fb714c6bf
commit
547018c2cd
|
@ -1,2 +1 @@
|
|||
[H[2J
|
||||
Welcome to Void GNU/Linux \m \r (\l on \n)
|
||||
|
|
|
@ -23,17 +23,15 @@ _EOF
|
|||
|
||||
list_kernels()
|
||||
{
|
||||
local k kpkg installed skip
|
||||
local k kpkg installed kver skip
|
||||
|
||||
for k in /var/lib/initramfs-tools/*; do
|
||||
kver=$(basename $k)
|
||||
kver=$(basename $k|sed -e 's|-rc|rc|')
|
||||
for kpkg in kernel kernel-snapshot; do
|
||||
installed=$(xbps-uhelper -r / version $kpkg)
|
||||
if [ -n "$installed" ]; then
|
||||
if [ "$installed" = "$kver" ]; then
|
||||
skip=1
|
||||
break
|
||||
fi
|
||||
if [ "$installed" = "$kver" ]; then
|
||||
skip=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ -n "$skip" ]; then
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.49
|
||||
version=0.50
|
||||
build_style=custom-install
|
||||
short_desc="Void GNU/Linux base system files"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -10,7 +10,6 @@ long_desc="
|
|||
This package installs the base system files that aren't installed by any
|
||||
other package and are required on any GNU/Linux system."
|
||||
|
||||
replaces="xbps-base-files>=0"
|
||||
noarch=yes
|
||||
bootstrap=yes
|
||||
|
||||
|
|
Loading…
Reference in New Issue