diff options
author | root <root@rshg054.dnsready.net> | 2011-11-26 23:14:49 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-26 23:14:49 +0000 |
commit | d5d697136e6d703fa618b3fb08915eef50d4d4de (patch) | |
tree | 93a87060f8fb31f19e3e44de8e961d49f1e9f7a5 /staging/vlc/vlc.install | |
parent | 6a642c093f29814cdd0fdefeee3ab9400eae490f (diff) |
Sat Nov 26 23:14:49 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..dc4961cae --- /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 +} |