summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/browser.install.in2
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/browser.install.in b/debian/browser.install.in
index efbb3d6780..cafc484b83 100644
--- a/debian/browser.install.in
+++ b/debian/browser.install.in
@@ -77,3 +77,5 @@ usr/lib/@browser@/fonts/TwemojiMozilla.ttf
usr/lib/@browser@/pingsender
debian/@browser@-symbolic.svg usr/share/icons/hicolor/symbolic/apps
+
+debian/local/pref/*.js etc/@browser@
diff --git a/debian/rules b/debian/rules
index d35ca9256a..0e3189911d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -153,7 +153,7 @@ RUSTFLAGS = --remap-path-prefix=$(CURDIR)=.
EXPORTS := CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS MOZILLA_OFFICIAL RUSTFLAGS
$(call lazy,CONFIGURE_ENV,$$(foreach export,$(EXPORTS),$$(export)="$$($$(export))"))
-IN_FILES := $(wildcard debian/*.in)
+IN_FILES := $(wildcard debian/*.in debian/local/pref/*.in)
ifeq ($(PRODUCT_NAME),firefox)
IN_FILES := $(filter-out debian/browser.preinst.in debian/browser.postrm.in debian/$($(PRODUCT)).in,$(IN_FILES))
endif
@@ -324,6 +324,8 @@ stamps/dh_install:: debian/noinstall debian/$($(PRODUCT))-symbolic.svg
dh_install --fail-missing
override_dh_install-arch: stamps/dh_install
+ sed -i -e 's|user_pref(|pref(|g' debian/$($(PRODUCT))/etc/$($(PRODUCT))/*.js
+
override_dh_install-indep: stamps/dh_install-l10n
override_dh_strip: