postinst is in ircii 20060725-1build1.
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 | #!/bin/sh
set -e
update-alternatives --install /usr/bin/irc irc /usr/bin/ircII 20 \
--slave /usr/share/man/man1/irc.1.gz irc.1 /usr/share/man/man1/ircII.1.gz
if [ ! -f /etc/irc/servers ]; then
echo "irc.debian.org" > /etc/irc/servers
fi
|