This file is indexed.

preinst is in orville-write 2.55-3build1.

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

if [ -f /usr/bin/std-write ]; then
rm -f /usr/bin/write
dpkg-divert --package orville-write --remove --rename \
--divert /usr/bin/std-write /usr/bin/write
fi

if [ -f /usr/share/man/man1/std-write.1.gz ]; then
rm -f /usr/share/man/man1/write.1.gz
dpkg-divert --package orville-write --remove --rename \
--divert /usr/share/man/man1/std-write.1.gz /usr/share/man/man1/write.1.gz
fi

if [ "$1" = "install" ]; then
dpkg-divert --package orville-write --add --rename \
--divert /usr/bin/std-mesg /usr/bin/mesg
dpkg-divert --package orville-write --add --rename \
--divert /usr/share/man/man1/std-mesg.1.gz /usr/share/man/man1/mesg.1.gz
fi