summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-20 20:27:35 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-20 20:27:35 -0300
commite3117ec4ef1b87db6541952362959412935fba02 (patch)
tree2d2c87b3c0d740b2ff6c234ca8fe10904f77b628
parent32c68d8e11d3c3be6e6aa35018fe389b9d7553b9 (diff)
iceweasel-l10n: minor fix
-rw-r--r--libre/iceweasel-l10n/PKGBUILD7
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