1 2 3 4 5 6 7 8
#!/bin/sh -e #DEBHELPER# if [ "$1" != "upgrade" ]; then update-alternatives --remove irssi /usr/bin/irssi-text update-alternatives --remove irc /usr/bin/irssi fi