Changes between Version 6 and Version 7 of PadrePluginCookbookRecipie05
- Timestamp:
- 08/05/11 19:38:41 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PadrePluginCookbookRecipie05
v6 v7 58 58 sub plugin_enable { 59 59 60 my $pdflatex_exists = 0;60 my $pdflatex_exists = 0; 61 61 62 # ToDo add other os locations63 # Ubuntu -> /usr/bin/64 my @directories = qw( /usr/bin/ );65 find(66 sub {67 if ( $_ eq 'pdflatex' ) {68 $pdflatex_exists = 1;69 }70 },71 @directories72 );73 74 return $pdflatex_exists;62 # ToDo add other os locations 63 # Ubuntu -> /usr/bin/ 64 my @directories = qw( /usr/bin/ ); 65 find( 66 sub { 67 if ( $_ eq 'pdflatex' ) { 68 $pdflatex_exists = 1; 69 } 70 }, 71 @directories 72 ); 73 74 return $pdflatex_exists; 75 75 } 76 76 }}}
