summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9abde0c17e..85494c6341 100644
--- a/debian/browser.install.in
+++ b/debian/browser.install.in
@@ -79,3 +79,5 @@ usr/lib/@browser@/glxtest
usr/lib/@browser@/vaapitest
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 8c91e06567..59cb2d4d43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -160,7 +160,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
@@ -314,6 +314,8 @@ stamps/dh_install:: debian/noinstall debian/$($(PRODUCT))-symbolic.svg
dh_missing --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
# dwz trips on libxul, after using a lot of memory.