aboutsummaryrefslogtreecommitdiffstats
path: root/mpv.install
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-04 18:38:05 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:41 +0200
commit49ade3fa412b423badd44edfbd29f97b9fcc6615 (patch)
treed705ad769a398af64cbfe529a687457de85f1336 /mpv.install
downloadpkgbuilds-49ade3fa412b423badd44edfbd29f97b9fcc6615.tar.xz
mpv-git: import
Diffstat (limited to 'mpv.install')
-rw-r--r--mpv.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/mpv.install b/mpv.install
new file mode 100644
index 0000000..6c87527
--- /dev/null
+++ b/mpv.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}