~sourcemage/sorcery

0ee247389ee16d7521ba91af2a78370ed24cdcdb — Pavel Vinogradov 1 year, 10 months ago 5cce1e3
libsecurity, libsorcery: adapted for grep 3.8 (egrep -> grep -E)
2 files changed, 2 insertions(+), 2 deletions(-)

M var/lib/sorcery/modules/libsecurity
M var/lib/sorcery/modules/libsorcery
M var/lib/sorcery/modules/libsecurity => var/lib/sorcery/modules/libsecurity +1 -1
@@ 58,7 58,7 @@ gaze_checkmd5() {
      SOURCE="$(ls $SOURCE_CACHE/$SOURCE* 2> /dev/null | cut -d'/' -f 5 | head -n 1)"
      if [ "$SOURCE" ]
      then
        if [[ -z $(echo ${SOURCE#$OLDSOURCE.} | egrep '^[0-9]{14}$') ]]
        if [[ -z $(echo ${SOURCE#$OLDSOURCE.} | grep -E '^[0-9]{14}$') ]]
        then
          APPEND="FUZZ s/$OLDSOURCE/$SOURCE/ "
        else

M var/lib/sorcery/modules/libsorcery => var/lib/sorcery/modules/libsorcery +1 -1
@@ 883,7 883,7 @@ unset_details()  {
    TEMP=${TEMP}${i}\\n
  done
  # not all SOURCE_* should be deleted (SOURCE_CACHE)
  VARS="$VARS $(echo -e $TEMP | egrep "^SOURCE[0-9]*(_URL|_GPG|_IGNORE)?$")"
  VARS="$VARS $(echo -e $TEMP | grep -E "^SOURCE[0-9]*(_URL|_GPG|_IGNORE)?$")"

  unset $VARS
}