summaryrefslogtreecommitdiff
path: root/testing/vlc/vlc.install
blob: dc4961caee9229b9a31e9ffae07b1643f2b9766e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}