Updated firefox and ubiquity scripts so they work with modification-aware-sed

This commit is contained in:
Rubén Rodríguez 2013-01-17 00:03:34 +01:00
parent 622fb1baeb
commit 739284649b
2 changed files with 6 additions and 5 deletions

View file

@ -78,7 +78,7 @@ sed "s_^Maintainer.*_Maintainer: $DEBFULLNAME <$DEBEMAIL>_g" -i debian/control.i
find -type d | grep firefox | xargs rename s/firefox/abrowser/
find -type f | grep firefox | xargs rename s/firefox/abrowser/
replace(){
find $3 -type f |grep -v changelog |grep -v copyright | xargs sed -i s^"$1"^"$2"^g
find $3 -type f |grep -v changelog |grep -v copyright | xargs -i sed -i s^"$1"^"$2"^g "{}"
}
replace firefox abrowser .
replace Firefox Abrowser .