post_install() {
  if [ -f "mingw64/lib/vlc/vlc-cache-gen.exe" ]; then
    ./mingw64/lib/vlc/vlc-cache-gen.exe ./mingw64/lib/vlc/plugins
  fi
}

post_upgrade() {
  post_install
}
