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 e9ef2760a8..7d9fe9a82c 100644
--- a/debian/browser.install.in
+++ b/debian/browser.install.in
@@ -81,3 +81,5 @@ usr/lib/@browser@/v4l2test
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 be8cbf1f0b..12f28d6bfc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -158,7 +158,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
@@ -315,6 +315,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.