Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
mrtg
mrtg-icons_path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mrtg-icons_path.patch of Package mrtg
--- bin/indexmaker | 3 ++- bin/mrtg | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) Index: bin/indexmaker =================================================================== --- bin/indexmaker.orig +++ bin/indexmaker @@ -292,11 +292,12 @@ sub genindex ($$$$) { if ($$cfg{icondir} || $$opt{icondir}) { $gifPath = $$opt{icondir} || $$cfg{icondir}; #lets make sure there is a trailing path separator $gifPath =~ s|/*$|/|; } else { - $gifPath = "$$cfg{imagehtml}"; + # $gifPath = "$$cfg{imagehtml}"; + $gifPath = "/icons/" } if ($$opt{optlog}) { $metaCmdLine = $argz; Index: bin/mrtg =================================================================== --- bin/mrtg.orig +++ bin/mrtg @@ -1832,11 +1832,12 @@ print HTML " if (defined $$cfg{icondir}) { $gifPath = $$cfg{icondir}; #lets make sure there is a trailing path separator $gifPath =~ s|/*$|/|; } else { - $gifPath = "$dirrel$$cfg{imagehtml}"; +# $gifPath = "$dirrel$$cfg{imagehtml}"; + $gifPath = "/icons/" } print HTML<<TEXT; <!-- Begin MRTG Block --> <div id="footer">
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor