version 1.4, 2009/12/29 07:04:38
|
version 1.8, 2010/05/04 01:39:26
|
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 suse11.1 suse11.2 debian5 ubuntu8"> |
<perlscript mode="fg" dist="fedora9 fedora10 fedora11 fedora12 fedora13 sles11 suse11.1 suse11.2 debian5 ubuntu8"> |
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 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"); |
} |
} |