This file is indexed.

preinst is in bzrtools 2.5-1.

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



# handle problem caused by the new Python policy. The directory being removed needs to 
# be a symlink now
case $1 in
    install|upgrade)
	for pyversion in 2.3 2.4 2.5; do
	    test -d /usr/lib/python${pyversion}/site-packages/bzrlib/plugins/bzrtools && \
	    	rm -rf /usr/lib/python${pyversion}/site-packages/bzrlib/plugins/bzrtools || \
		true
	done
	;;
    *)
	;;
esac