From 4784cc8068c68b6fc23c2bd0ee8158b2a924f5f4 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 14 Aug 2011 23:14:32 +0000 Subject: Sun Aug 14 23:14:32 UTC 2011 --- testing/vlc/vlc.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testing/vlc/vlc.install (limited to 'testing/vlc/vlc.install') diff --git a/testing/vlc/vlc.install b/testing/vlc/vlc.install new file mode 100644 index 000000000..4a1091bc5 --- /dev/null +++ b/testing/vlc/vlc.install @@ -0,0 +1,18 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + usr/lib/vlc/vlc-cache-gen -f usr/lib/vlc/plugins + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +pre_remove() { + rm -f usr/lib/vlc/plugins/plugins-*.dat +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} -- cgit v1.2.3-54-g00ecf