[LON-CAPA-cvs] cvs: loncom / lonmaxima lonr

raeburn raeburn at source.lon-capa.org
Wed Dec 5 18:02:38 EST 2018


raeburn		Wed Dec  5 23:02:38 2018 EDT

  Modified files:              
    /loncom	lonr lonmaxima 
  Log:
  - Replace use of mailto (metamail package) with mail command.
    metamail was in Red Hat 7.3, but is absent from Fedora, CentOS, RHEL etc.
  
  
Index: loncom/lonr
diff -u loncom/lonr:1.12 loncom/lonr:1.13
--- loncom/lonr:1.12	Mon Oct 29 02:57:30 2018
+++ loncom/lonr	Wed Dec  5 23:02:38 2018
@@ -3,7 +3,7 @@
 # The LearningOnline Network with CAPA
 # Connect to R CAS
 #
-# $Id: lonr,v 1.12 2018/10/29 02:57:30 raeburn Exp $
+# $Id: lonr,v 1.13 2018/12/05 23:02:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -157,7 +157,7 @@
     my $emailto="$perlvar{'lonAdmEMail'},$perlvar{'lonSysEMail'}";
     my $subj="LON: User ID mismatch";
     system("echo 'User ID mismatch.  lonr must be run as user www.' |".
-           " mailto -s '$subj' $emailto > /dev/null");
+           " mail -s '$subj' $emailto > /dev/null");
     exit 1;
 }
  
Index: loncom/lonmaxima
diff -u loncom/lonmaxima:1.43 loncom/lonmaxima:1.44
--- loncom/lonmaxima:1.43	Mon Oct 29 02:57:30 2018
+++ loncom/lonmaxima	Wed Dec  5 23:02:38 2018
@@ -3,7 +3,7 @@
 # The LearningOnline Network with CAPA
 # Connect to MAXIMA CAS
 #
-# $Id: lonmaxima,v 1.43 2018/10/29 02:57:30 raeburn Exp $
+# $Id: lonmaxima,v 1.44 2018/12/05 23:02:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -157,7 +157,7 @@
     my $emailto="$perlvar{'lonAdmEMail'},$perlvar{'lonSysEMail'}";
     my $subj="LON: User ID mismatch";
     system("echo 'User ID mismatch.  lonmaxima must be run as user www.' |".
-           " mailto -s '$subj' $emailto > /dev/null");
+           " mail -s '$subj' $emailto > /dev/null");
     exit 1;
 }
  




More information about the LON-CAPA-cvs mailing list