base-files: replace egrep with grep -E to make busybox happy.
This commit is contained in:
parent
e9b5a73b1e
commit
89a745d2df
srcpkgs/base-files
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user