Return to picins_check.piml CVS log | Up to [LON-CAPA] / doc / loncapafiles |
version 1.25, 2014/06/29 23:50:25 | version 1.26, 2014/11/28 17:55:38 |
---|---|
Line 50 http://www.lon-capa.org/ | Line 50 http://www.lon-capa.org/ |
my $srcurl = 'http://install.loncapa.org/ctan/tex-archive/macros/latex209/contrib/picins/picins.sty'; | my $srcurl = 'http://install.loncapa.org/ctan/tex-archive/macros/latex209/contrib/picins/picins.sty'; |
system("/usr/bin/wget -O $picinspath/$file $srcurl 1>/dev/null 2>/dev/null"); | system("/usr/bin/wget -O $picinspath/$file $srcurl 1>/dev/null 2>/dev/null"); |
die("/usr/bin/wget -O $srcurl failed") if $?; | die("/usr/bin/wget -O $srcurl failed") if $?; |
chmod(0644, "$picinspath/$file"); | |
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 $?; |