This file is indexed.

config is in bacula-director-sqlite3 5.2.5-0ubuntu6.

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
# config script for bacula-director (SQLite3 flavor)

. /usr/share/debconf/confmodule
#db_version 2.0

# source dbconfig-common shell library, and call the hook function
if [ -f /usr/share/dbconfig-common/dpkg/config.sqlite3 ]; then
  dbc_first_version=3.0.3-3
  dbc_dbuser=bacula
  dbc_dbname=bacula.db
  dbc_basepath=/var/lib/bacula
  . /usr/share/dbconfig-common/dpkg/config.sqlite3
  # Remove the following lines post-squeeze and replace with simple
  #dbc_go bacula-director-sqlite3 $@
  DB="$dbc_basepath/$dbc_dbname"
  if [ -f "$DB" ] && file "$DB" | grep -q "SQLite 2"; then
      # This will be upgraded in postinst.  Have to pass fake old
      # version to dbc_go.  See comments in bacula-director-sqlite3.postinst
      dbc_go bacula-director-sqlite3 "$1" 2.4.4-1
  else
      echo "config: Running dbc_go bacula-director-sqlite3 $@"
      dbc_go bacula-director-sqlite3 $@
  fi
fi

set -e

case "$1" in
        configure)
        ;;

	reconfigure)
        ;;

        *)
                echo "config called with unknown argument \$1'" >&2
                exit 0
        ;;
esac

exit 0