summaryrefslogtreecommitdiff
path: root/extra/vlc/vlc.install
blob: 4a1091bc5fa6f440db69e6d3dfb530f4d4a50ed4 (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
}