diff --git a/helpers/config b/helpers/config index 0d62157..2ddc5ec 100755 --- a/helpers/config +++ b/helpers/config @@ -266,3 +266,6 @@ remove_patch(){ sed -i "/$1/d" debian/patches/series } +sed_csum() { + grep -rl "$1" "$3" | xargs -r /bin/sed -i "s|$1|$2|" +}