diff options
author | root <root@rshg054.dnsready.net> | 2012-01-23 23:15:06 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-23 23:15:06 +0000 |
commit | c6c657b8bcf062b5d19eff6298b7754c11838080 (patch) | |
tree | ed6a14e27d40adfcc821fe921e95aa9e9ab4585b /staging/vlc/vlc.install | |
parent | 164067832916c8e59219e1b0f30d7d04618a536e (diff) |
Mon Jan 23 23:15:06 UTC 2012
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 +} |