Diff for /doc/loncapafiles/picins_check.piml between versions 1.5 and 1.22

version 1.5, 2009/12/30 05:51:43 version 1.22, 2013/11/30 22:06:31
Line 32  http://www.lon-capa.org/ Line 32  http://www.lon-capa.org/
 <piml>  <piml>
 <files>  <files>
 <file>  <file>
 <perlscript mode="fg" dist="fedora9 fedora10 fedora11 fedora12 suse11.1 suse11.2 debian5 ubuntu8">  <perlscript mode="fg" dist="fedora9 fedora10 fedora11 fedora12 fedora13 fedora14 fedora15 fedora16 fedora17 fedora18 fedora19 fedora20 rhes6 scientific6 centos6 sles11 suse11.1 suse11.2 suse11.3 suse11.4 suse12.1 suse12.2 suse12.3 debian5 debian6 ubuntu8 ubuntu10 ubuntu12">
     my $picinspath = '/usr/share/texmf/tex/latex/picins';       my $picinspath = '/usr/share/texmf/tex/latex/picins'; 
     my $file = 'picins.sty';      my $file = 'picins.sty';
     if (!-e "$picinspath/$file") {      if (!-e "$picinspath/$file") {
Line 47  http://www.lon-capa.org/ Line 47  http://www.lon-capa.org/
             }              }
         }          }
         if (-d $picinspath) {          if (-d $picinspath) {
             system("/usr/bin/wget -O $picinspath/$file  http://www.ctan.org/get/macros/latex209/contrib/picins/picins.sty  1>/dev/null 2>/dev/null");              my $srcurl = 'http://install.loncapa.org/ctan/tex-archive/macros/latex209/contrib/picins/picins.sty';
             die("/usr/bin/wget -O  http://www.ctan.org/get/macros/latex209/contrib/picins/picins.sty failed") if $?;              system("/usr/bin/wget -O $picinspath/$file $srcurl 1>/dev/null 2>/dev/null");
               die("/usr/bin/wget -O $srcurl failed") if $?;
             if (-e $picinspath.'/'.$file) {              if (-e $picinspath.'/'.$file) {
                 system('/usr/bin/texconfig rehash  1>/dev/null 2>/dev/null');                  system('/usr/bin/texconfig rehash  1>/dev/null 2>/dev/null');
                 die("Can't run /usr/bin/texconfig rehash") if $?;                  die("Can't run /usr/bin/texconfig rehash") if $?;
                 system("/usr/bin/fmtutil-sys --missing  1>/dev/null 2>/dev/null");                print "$picinspath/$file created and /usr/bin/texconfig rehash ran successfully.\n";                  print "$picinspath/$file created and /usr/bin/texconfig rehash ran successfully.\n";
             } else {              } else {
                 die("Can't find $picinspath/$file");                  die("Can't find $picinspath/$file");
             }              }

Removed from v.1.5  
changed lines
  Added in v.1.22


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>