Move favicon.ico to prevent errors during install #17
Loading…
Reference in New Issue
No description provided.
Delete Branch "(deleted):favicon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See https://hummy.tv/forum/threads/file_md5sum_alloc-failed-to-open-file-mod-webif-html-favicon-ico-no-such-file-or-directory.9860 for discussion leading up to this change
We have long suffered from `Collected errors:
These are due to webif/html/favicon.ico being a symlink rather than the actual icon file.
As far as I can see the only use of /mod/webif/html/img/fav/favicon.ico is as the symlink target, there are no other uses that I could find
So my conclusion is that webif/html/img/fav/favicon.ico should be moved to webif/html/favicon.ico with no symlinks pointing back to it
Also we should delete unreferenced (AFAIK) file webif/html/img/favicon.ico (on my system this contains the orange hpkg icon)
That way we wont have the confusion of multiple favicon.ico files and should solve the file not found problem
I've replaced the symbolic link in the package with a copy of the file - hopefully that will stop the spurious errors while still allowing people to change the file if they wish
(although arguably, EXTRA.css is a better mechanism for overriding the favicon these days)
I hate the blue ring on a black background and much prefer the orange/h (which I still get on my tabs on FF) as it's much easier to see.
Could you write some brief instructions on the extra.css thing?
I was wrong, it isn't possible to specify the favicon in a css file.
With the new webif beta and beyond, your best approach is to do this which will drop the orange h into place over the default, and because html/favicon.ico is in CONTROL/conffiles, it will be preserved over future upgrades.
Pull request closed