diff options
-rw-r--r-- | debian/browser.install.in | 2 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/browser.install.in b/debian/browser.install.in index 70949ac768..7191a5678b 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 117197e963..55a3d49ac6 100755 --- a/debian/rules +++ b/debian/rules @@ -156,7 +156,7 @@ endif 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 @@ -313,6 +313,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: |