#!/bin/sh -e # postinst for t-prot # Source debconf library. if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi if [ "$1" != 'configure' ]; then exit 0 fi symlink=true if [ -e /usr/share/debconf/confmodule ]; then db_get t-prot/muttrc.d symlink="$RET" fi if [ "$symlink" = "true" ]; then mkdir /etc/Muttrc.d || true cd /etc/Muttrc.d && ln -s ../Muttrc.t-prot t-prot.rc || true fi