This file is indexed.

preinst is in python-novaclient 1:2.17.0-0ubuntu1.

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
#!/bin/sh -e

if [ "$1" = "upgrade" ] ; then
  if [ -n "$2" ] && dpkg --compare-versions "$2" lt 1:2.13.0-0ubuntu2; then
    # Remove broken symlink that was released with raring. (LP: #1172420)
    if [ -L /etc/bash_completion.d/nova.bash_completion ] &&
       [ "`readlink /etc/bash_completion.d/nova.bash_completion`" =\
         "/usr/share/doc/python-novaclient/nova.bash_completion" ]; then
      rm -rf /etc/bash_completion.d/nova.bash_completion
   fi
  fi
fi



exit 0