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) Welcome to Void GNU/Linux \m \r (\l on \n)

View file

@ -23,17 +23,15 @@ _EOF
list_kernels() list_kernels()
{ {
local k kpkg installed skip local k kpkg installed kver skip
for k in /var/lib/initramfs-tools/*; do 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 for kpkg in kernel kernel-snapshot; do
installed=$(xbps-uhelper -r / version $kpkg) installed=$(xbps-uhelper -r / version $kpkg)
if [ -n "$installed" ]; then if [ "$installed" = "$kver" ]; then
if [ "$installed" = "$kver" ]; then skip=1
skip=1 break
break
fi
fi fi
done done
if [ -n "$skip" ]; then if [ -n "$skip" ]; then

View file

@ -1,6 +1,6 @@
# Template file for 'base-files' # Template file for 'base-files'
pkgname=base-files pkgname=base-files
version=0.49 version=0.50
build_style=custom-install build_style=custom-install
short_desc="Void GNU/Linux base system files" short_desc="Void GNU/Linux base system files"
maintainer="Juan RP <xtraeme@gmail.com>" 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 This package installs the base system files that aren't installed by any
other package and are required on any GNU/Linux system." other package and are required on any GNU/Linux system."
replaces="xbps-base-files>=0"
noarch=yes noarch=yes
bootstrap=yes bootstrap=yes