summarylogtreecommitdiffstats
path: root/chromium.install
blob: b32dedb23dfc127eb5a116647b2f8c1ecc667727 (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
post_install() {
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
  update-desktop-database -q
}

post_upgrade() {
  if (($(vercmp $2 42.0.2311.90-1) < 0)); then
    echo ':: This Chromium package no longer supports custom flags passed via the'
    echo '   /etc/chromium/default file (or any other files under /etc/chromium/).'
    echo
    echo '   The new /usr/bin/chromium launcher script will automatically detect'
    echo '   Pepper Flash (if installed) and pass the correct flags to Chromium.'
    echo
    echo '   If you need to pass extra command-line arguments to Chromium, you'
    echo '   can put them in a "chromium-flags.conf" file under $HOME/.config/'
    echo '   (or $XDG_CONFIG_HOME). Arguments are split on whitespace and shell'
    echo '   quoting rules apply but no further parsing is performed.'
  fi

  post_install
}

post_remove() {
  post_install
}

# vim:set ts=2 sw=2 et: