diff options
author | root <root@rshg054.dnsready.net> | 2011-08-10 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-10 23:14:36 +0000 |
commit | e81c6fe4fb38144709923b2da3ab68a01712a26b (patch) | |
tree | e98431d7c18b82156a91c9cb208d725c06e84793 /staging/vlc/vlc.install | |
parent | a306c2530354c1c02351c4cc02eefa53c8d23eac (diff) |
Wed Aug 10 23:14:35 UTC 2011
Diffstat (limited to 'staging/vlc/vlc.install')
-rw-r--r-- | staging/vlc/vlc.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/staging/vlc/vlc.install b/staging/vlc/vlc.install new file mode 100644 index 000000000..4a1091bc5 --- /dev/null +++ b/staging/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 +} |