projects
/
carnet-tools-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r29: Almost ready for new release (cp-update)
[carnet-tools-cn.git]
/
functions.sh
diff --git
a/functions.sh
b/functions.sh
index
f3124da
..
3141959
100644
(file)
--- a/
functions.sh
+++ b/
functions.sh
@@
-179,9
+179,7
@@
cp_check_and_sed() {
for i in "$@"
do
[ -e "$i" ] || continue
- if egrep -q "$s" "$i"; then
- continue
- fi
+ egrep -q "$s" "$i" || continue
[ -h "$i" ] && i=$(readlink -f "$i")
sed "$sedcmd" "$i" > "$i.dpkg-tmp"
if ! cmp -s "$i" "$i.dpkg-tmp" 2>&1 >/dev/null; then