diff options
-rw-r--r-- | libre/iceweasel-l10n/PKGBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD index 39517c2cb..493e216d8 100644 --- a/libre/iceweasel-l10n/PKGBUILD +++ b/libre/iceweasel-l10n/PKGBUILD @@ -135,15 +135,12 @@ _package() { unzip iceweasel-l10n-$_pkgver-$1.xpi -d $1 rm -v iceweasel-l10n-$_pkgver-$1.xpi + sed -i 's|Firefox|Iceweasel|g' $(grep -rlI 'Firefox' $1) install -vDm644 $srcdir/brand.dtd $1/browser/chrome/$1/locale/branding install -vDm644 $srcdir/brand.properties $1/browser/chrome/$1/locale/branding install -vDm644 $srcdir/region.properties $1/browser/chrome/$1/locale/browser-region sed -i -e 's/firefox/iceweasel/' $1/install.rdf - sed -i 's|Firefox|Iceweasel| - ' $1/browser/chrome/$1/locale/$1/devtools/client/sourceeditor.properties \ - $1/browser/chrome/$1/locale/$1/devtools/client/toolbox.dtd \ - $1/browser/chrome/$1/locale/$1/devtools/client/webide.dtd \ - $1/browser/chrome/$1/locale/$1/devtools/client/webide.properties + sed -i 's|Iceweasel|Firefox|' $1/chrome/$1/locale/$1/global/aboutRights.dtd rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win} rm -rv $1/browser/chrome/$1/locale/browser/searchplugins cp -av /usr/lib/mozilla/searchplugins $1/browser/chrome/$1/locale/browser |