version 1.6, 2010/01/01 16:13:13
|
version 1.7, 2010/04/03 01:13:44
|
Line 52 http://www.lon-capa.org/
|
Line 52 http://www.lon-capa.org/
|
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"); |
} |
} |