summaryrefslogtreecommitdiff
path: root/nonprism-testing/icedove/icedove.install
blob: dc20b4f9b50ec69037c43711683320c422d9e153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
notice() {
  cat <<EOM
  == IMPORTANT NOTICE ==

  This package contains several new patches that were introduced
  to strengthen and protect the end user from security and privacy threats.

  For users who wish to opt-out of privacy, 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
}