base-files: don't clear screen in issue, vkpurge improvements.

This commit is contained in:
Juan RP 2011-07-20 18:13:09 +02:00
parent 1fb714c6bf
commit 547018c2cd
3 changed files with 6 additions and 10 deletions

View File

@ -1,2 +1 @@

Welcome to Void GNU/Linux \m \r (\l on \n)

View File

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

View File

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