summaryrefslogtreecommitdiff
path: root/nonprism/icedove-hardened/icedove.install
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/icedove-hardened/icedove.install')
-rw-r--r--nonprism/icedove-hardened/icedove.install36
1 files changed, 36 insertions, 0 deletions
diff --git a/nonprism/icedove-hardened/icedove.install b/nonprism/icedove-hardened/icedove.install
new file mode 100644
index 000000000..af5f896b5
--- /dev/null
+++ b/nonprism/icedove-hardened/icedove.install
@@ -0,0 +1,36 @@
+notice() {
+ cat <<EOM
+ == IMPORTANT NOTICE ==
+
+ This package contains several patches that were introduced
+ to strengthen and protect the end user from security threats.
+
+ For users who wish to opt-out of security, you may override options in
+ about:config using a user.js file in your ~/.icedove's profile folder.
+
+ Some user.js examples:
+ user_pref("mailnews.display.prefer_plaintext", false); # Enables possible HTML leaks
+ user_pref("purple.logging.log_chats", true); # Enables chat logging
+
+ Further reading:
+ * https://lists.parabola.nu/pipermail/dev/2016-October/004522.html
+ * http://kb.mozillazine.org/About:config
+ * http://kb.mozillazine.org/User.js_file
+
+EOM
+}
+
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ notice
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}