post_install() {
    usr/lib/vlc/vlc-cache-gen /usr/lib/vlc/plugins
}

post_upgrade() {
    post_install
}

pre_remove() {
    rm -f usr/lib/vlc/plugins/plugins-*.dat
}

