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