You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Fixed absolute paths that were used for the PDF logo.
This commit is contained in:
		| @@ -181,11 +181,12 @@ sub new | ||||
|         ${$self->{oManifest}}{render}{$strType} = $oRenderHash; | ||||
|     } | ||||
|  | ||||
|     # Set the doc path variable | ||||
|     $self->variableSet('doc-path', $self->{strDocPath}); | ||||
|  | ||||
|     # Read variables from manifest | ||||
|     $self->variableListParse($self->{oManifestXml}->nodeGet('variable-list', false), $oVariableOverride); | ||||
|  | ||||
|     # use Data::Dumper; confess Dumper($self->{oVariable}); | ||||
|  | ||||
|     # Return from function and log return values if any | ||||
|     return logDebugReturn | ||||
|     ( | ||||
|   | ||||
| @@ -95,7 +95,7 @@ sub process | ||||
|     my $oRender = $self->{oManifest}->renderGet(RENDER_TYPE_PDF); | ||||
|  | ||||
|     # Copy the logo | ||||
|     copy('/backrest/doc/resource/latex/cds-logo.eps', "$self->{strLatexPath}/logo.eps") | ||||
|     copy("$self->{oManifest}{strDocPath}/resource/latex/cds-logo.eps", "$self->{strLatexPath}/logo.eps") | ||||
|         or confess &log(ERROR, "unable to copy logo"); | ||||
|  | ||||
|     my $strLatex = $self->{oManifest}->variableReplace(fileStringRead($self->{strPreambleFile}), 'latex') . "\n"; | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
|         <variable key="project-favicon">favicon.png</variable> | ||||
|  | ||||
|         <!-- Logo locations --> | ||||
|         <variable key="logo">/backrest/doc/output/latex/logo</variable> | ||||
|         <variable key="logo">{[doc-path]}/output/latex/logo</variable> | ||||
|  | ||||
|         <!-- HTML variables  --> | ||||
|         <variable key="html-footer" eval='y'> | ||||
|   | ||||
| @@ -109,6 +109,14 @@ | ||||
|  | ||||
|                         <p>Fixed syntax that was not compatible with Perl 5.2X.</p> | ||||
|                     </release-item> | ||||
|  | ||||
|                     <release-item> | ||||
|                         <release-item-contributor-list> | ||||
|                             <release-item-ideator id="vondendriesch.adrian"/> | ||||
|                         </release-item-contributor-list> | ||||
|  | ||||
|                         <p>Fixed absolute paths that were used for the PDF logo.</p> | ||||
|                     </release-item> | ||||
|                 </release-bug-list> | ||||
|  | ||||
|                  <release-feature-list> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user