This file is indexed.

postinst is in vlc-nox 2.2.2-5.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
set -e

run_vlc_cache_gen() {
    if ! /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins ; then
        echo "WARNING: Regenerating VLC plugin cache failed."
        echo "Please run 'vlc-cache-gen -f /usr/lib/vlc/plugins' manually."
    fi
}

case "$1" in
    triggered)
        run_vlc_cache_gen
        exit 0
        ;;

    configure)
        # Make sure that the plugins cache is generated if only vlc-nox is
        # installed.
        dpkg-trigger /usr/lib/vlc/plugins
        ;;
esac

# Automatically added by dh_installdeb
dpkg-maintscript-helper symlink_to_dir /usr/share/bug/vlc-nox libvlccore8 2.2.2-4~ -- "$@"
# End automatically added section