Ticket #1342: mutt-config.diff

File mutt-config.diff, 2.2 KB (added by rakavan, 10 years ago)
  • debian/debathena.rc

     
    77# Set MIT IMAP as the location of the inbox and other folders. 
    88set folder=`/usr/lib/debathena-mutt-config/debathena-mutt-folder` 
    99set spoolfile=+INBOX 
    10 set record=+INBOX.sent-mail 
     10set record=`/usr/lib/debathena-mutt-config/debathena-mutt-record` 
    1111set postponed=+INBOX.postponed-msgs 
    1212 
    1313# Use MIT's outgoing SMTP servers. 
  • debian/debathena-mutt-record

     
     1#!/bin/sh 
     2user=${ATHENA_USER:-$USER} 
     3chpobox ${user} | grep 'Type EXCHANGE' > /dev/null 2>&1 
     4# grep exist 0 if it matches. 
     5EXCHANGE=$? 
     6if [ ${EXCHANGE} -eq 0 ]; then 
     7        # We're using an exchange server, use its setting 
     8        echo '"=Sent Items"'; 
     9else 
     10        # We're using an IMAP server, keep the old setting 
     11        echo '"+INBOX.sent-mail"'; 
     12fi 
  • debian/changelog

    Property changes on: debian/debathena-mutt-record
    ___________________________________________________________________
    Added: svn:executable
       + *
    
     
    77  * Switch from control.in to control (Trac: #561) 
    88  * Bump Standards-Version to 3.9.3 
    99  * Bump compat level to 7 
     10   
     11  [ Ryan Kavanagh ] 
     12  * Set the appropriate record location for Exchange users, introduces the 
     13    debathena-mutt-record script (Trac: #1342) 
    1014 
    11  -- Jonathan Reed <jdreed@mit.edu>  Wed, 03 Apr 2013 13:38:46 -0400 
     15 -- Ryan Kavanagh <rak@debian.org>  Fri, 03 May 2013 20:35:24 -0400 
    1216 
    1317debathena-mutt-config (1.5) UNRELEASED; urgency=low 
    1418 
  • debian/debathena-mutt-config.install

     
    11debian/debathena.rc etc/Muttrc.d 
    22debian/debathena-mutt-folder usr/lib/debathena-mutt-config 
     3debian/debathena-mutt-record usr/lib/debathena-mutt-config