postinst is in mono-devel 2.10.8.1-1ubuntu2.
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 | #!/bin/sh
set -e
update-alternatives \
--install /usr/bin/cli-csc c-sharp-compiler /usr/bin/mono-csc 10 \
--slave /usr/share/man/man1/cli-csc.1.gz cli-csc.1.gz /usr/share/man/man1/dmcs.1.gz
update-alternatives \
--install /usr/bin/cli-resgen resource-file-generator /usr/bin/resgen 10 \
--slave /usr/share/man/man1/cli-resgen.1.gz cli-resgen.1.gz /usr/share/man/man1/resgen.1.gz
update-alternatives \
--install /usr/bin/cli-al assembly-linker /usr/bin/al 10 \
--slave /usr/share/man/man1/cli-al.1.gz cli-al.1.gz /usr/share/man/man1/al.1.gz
update-alternatives \
--install /usr/bin/cli-sn strong-name-tool /usr/bin/sn 10 \
--slave /usr/share/man/man1/cli-sn.1.gz cli-sn.1.gz /usr/share/man/man1/sn.1.gz
|