Return to picins_check.piml CVS log | Up to [LON-CAPA] / doc / loncapafiles |
version 1.11, 2011/02/27 18:54:59 | version 1.12, 2011/05/02 12:39:45 |
---|---|
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 $?; |