From 547018c2cddfcb79e970d8e8a31530c6ca3fcc6d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 20 Jul 2011 18:13:09 +0200 Subject: [PATCH] base-files: don't clear screen in issue, vkpurge improvements. --- srcpkgs/base-files/files/issue | 1 - srcpkgs/base-files/files/vkpurge | 12 +++++------- srcpkgs/base-files/template | 3 +-- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/srcpkgs/base-files/files/issue b/srcpkgs/base-files/files/issue index 8ebff37d246..44f254f734f 100644 --- a/srcpkgs/base-files/files/issue +++ b/srcpkgs/base-files/files/issue @@ -1,2 +1 @@ - Welcome to Void GNU/Linux \m \r (\l on \n) diff --git a/srcpkgs/base-files/files/vkpurge b/srcpkgs/base-files/files/vkpurge index 5e15329bf96..848a25e270c 100644 --- a/srcpkgs/base-files/files/vkpurge +++ b/srcpkgs/base-files/files/vkpurge @@ -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 diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index affbb0bde5c..007965d4d64 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -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 " @@ -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