postinst is in rsh-redone-client 85-2.
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 | #!/bin/sh -e
update-alternatives --install /usr/bin/rsh rsh /usr/bin/rsh-redone-rsh 150 \
--slave /usr/share/man/man1/rsh.1.gz rsh.1.gz /usr/share/man/man1/rsh-redone-rsh.1.gz
update-alternatives --install /usr/bin/rlogin rlogin /usr/bin/rsh-redone-rlogin 150 \
--slave /usr/share/man/man1/rlogin.1.gz rlogin.1.gz /usr/share/man/man1/rsh-redone-rlogin.1.gz
|