summaryrefslogtreecommitdiff
path: root/debian/itzks-systems-common.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/itzks-systems-common.postinst')
-rwxr-xr-xdebian/itzks-systems-common.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst
index b2753c3..42cf539 100755
--- a/debian/itzks-systems-common.postinst
+++ b/debian/itzks-systems-common.postinst
@@ -44,6 +44,13 @@ case "$1" in
update-icon-cache.gtk2 /usr/share/icons/hicolor
fi
+ # move itzks_papersize.js from /etc/iceweasel/pref to /etc/firefox-esr/
+ if dpkg --compare-versions "$2" le "2016.07.15.1"; then
+ if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
+ dpkg-maintscript-helper mv_conffile /etc/iceweasel/pref/itzks_papersize.js /etc/firefox-esr/itzks_papersize.js
+ fi
+ fi
+
# deploy Wine desktop fixes if Wine is installed
if which update-desktop-database 1>/dev/null && which wine 1>/dev/null; then
if [ ! -e /usr/share/applications/wine.desktop ]; then