Magellan Linux

Diff of /trunk/mage/usr/lib/mage/etc-update

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3182 by niro, Thu Mar 27 08:11:16 2014 UTC revision 3183 by niro, Mon Jul 31 09:34:28 2023 UTC
# Line 59  function scan() { Line 59  function scan() {
59   if [ ! -e "${rpath}/${rfile}" ] || [ ! -e "${rpath}/${rfile:10}" ]; then   if [ ! -e "${rpath}/${rfile}" ] || [ ! -e "${rpath}/${rfile:10}" ]; then
60   MATCHES=0   MATCHES=0
61   else   else
62   diff -Bbua ${rpath}/${rfile} ${rpath}/${rfile:10} | egrep '^[+-]' | egrep -v '^[+-][\t ]*#|^--- |^\+\+\+ ' | egrep -qv '^[-+][\t ]*$'   diff -Bbua ${rpath}/${rfile} ${rpath}/${rfile:10} | grep -E '^[+-]' | grep -E -v '^[+-][\t ]*#|^--- |^\+\+\+ ' | grep -E -qv '^[-+][\t ]*$'
63   MATCHES=$?   MATCHES=$?
64   fi   fi
65   elif [[ -z `diff -Nua ${rpath}/${rfile} ${rpath}/${rfile:10}|   elif [[ -z `diff -Nua ${rpath}/${rfile} ${rpath}/${rfile:10}|

Legend:
Removed from v.3182  
changed lines
  Added in v.3183