base-files: replace egrep with grep -E to make busybox happy.
This commit is contained in:
parent
e9b5a73b1e
commit
89a745d2df
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ if [ -z "$USER_LS_COLORS" ]; then
|
||||||
|
|
||||||
eval `dircolors --sh "$COLORS" 2>/dev/null`
|
eval `dircolors --sh "$COLORS" 2>/dev/null`
|
||||||
[ -z "$LS_COLORS" ] && return
|
[ -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
|
fi
|
||||||
|
|
||||||
alias ll='ls -l --color=auto' 2>/dev/null
|
alias ll='ls -l --color=auto' 2>/dev/null
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Functions and aliases go in /etc/bashrc
|
# Functions and aliases go in /etc/bashrc
|
||||||
|
|
||||||
pathmunge () {
|
pathmunge () {
|
||||||
if ! echo $PATH | /usr/bin/egrep -q "(^|:)$1($|:)" ; then
|
if ! echo $PATH | grep -Eq "(^|:)$1($|:)" ; then
|
||||||
if [ "$2" = "after" ] ; then
|
if [ "$2" = "after" ] ; then
|
||||||
PATH=$PATH:$1
|
PATH=$PATH:$1
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.57
|
version=0.58
|
||||||
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>"
|
||||||
homepage="http://code.google.com/p/xbps"
|
homepage="http://code.google.com/p/xbps"
|
||||||
|
|
Loading…
Reference in a new issue