3 if [ "$1" = "configure" ]; then
4 update-alternatives --install /usr/bin/pine pine /usr/bin/alpine 50 \
5 --slave /usr/share/man/man1/pine.1.gz pine.1.gz /usr/share/man/man1/alpine.1.gz
8 if [ ! -f /etc/pine.conf ]; then
9 echo "CN: Creating configuration file /etc/pine.conf..."
13 if ! grep -q ^smtp-server /etc/pine.conf; then
14 echo "CN: Adding smtp-server to /etc/pine.conf..."
15 echo smtp-server=localhost >> /etc/pine.conf