summarylogtreecommitdiffstats
path: root/flashplugin.install
diff options
context:
space:
mode:
authorSammysHP2015-06-08 15:55:07 +0200
committerSammysHP2015-06-08 15:55:07 +0200
commit77798399c461363af6d9d5d6b342c53ecc364878 (patch)
tree03e43baaf30928e6d37c7f5c963d8dc2702fd29d /flashplugin.install
downloadaur-77798399c461363af6d9d5d6b342c53ecc364878.tar.gz
Migrate from AUR3 to AUR4
Old history available at: https://github.com/SammysHP/flashplugin-focusfix_PKGBUILD
Diffstat (limited to 'flashplugin.install')
-rw-r--r--flashplugin.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/flashplugin.install b/flashplugin.install
new file mode 100644
index 000000000000..8018fcba216e
--- /dev/null
+++ b/flashplugin.install
@@ -0,0 +1,14 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ echo " >> "
+ echo " >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,"
+ echo " >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg."
+ echo " >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version."
+ echo " >> "
+}
+
+post_upgrade() {
+ if [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
+ post_install $1
+ fi
+}