diff options
author | Jonas Heinrich | 2017-11-12 14:19:32 +0100 |
---|---|---|
committer | Jonas Heinrich | 2017-11-12 14:19:32 +0100 |
commit | 9e84c5afbdfc88afb98b68005076ea0b35e62ce3 (patch) | |
tree | 0f501712ec1990f72d201a53ba7a4e45296d9983 /chromium.install | |
download | aur-9e84c5afbdfc88afb98b68005076ea0b35e62ce3.tar.gz |
first commit
Diffstat (limited to 'chromium.install')
-rw-r--r-- | chromium.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium.install b/chromium.install new file mode 100644 index 000000000000..b32dedb23dfc --- /dev/null +++ b/chromium.install @@ -0,0 +1,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: |