base-files: replace egrep with grep -E to make busybox happy.

This commit is contained in:
Juan RP 2012-01-29 20:22:34 +01:00
parent e9b5a73b1e
commit 89a745d2df
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ if [ -z "$USER_LS_COLORS" ]; then
eval `dircolors --sh "$COLORS" 2>/dev/null`
[ -z "$LS_COLORS" ] && return
egrep -qi "^COLOR.*none" $COLORS >/dev/null 2>/dev/null && return
grep -Eqi "^COLOR.*none" $COLORS >/dev/null 2>/dev/null && return
fi
alias ll='ls -l --color=auto' 2>/dev/null

View file

@ -4,7 +4,7 @@
# Functions and aliases go in /etc/bashrc
pathmunge () {
if ! echo $PATH | /usr/bin/egrep -q "(^|:)$1($|:)" ; then
if ! echo $PATH | grep -Eq "(^|:)$1($|:)" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else

View file

@ -1,6 +1,6 @@
# Template file for 'base-files'
pkgname=base-files
version=0.57
version=0.58
short_desc="Void GNU/Linux base system files"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"