Actions
Bug #2301
closedAdding symlinks for conf files when PBI packages have names that are substrings of each other
Start date:
03/20/2012
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
Description
When installing Squid on 2.1-DEV the libwww, squid_radius_auth and squid packages are put on the system with PBI.
In pkg_utils.inc code tries to replace the conf files written by PBI with symlinks to the conf files that are written by pfSense. Code that tries to match {$pkg} fails when $pkg = "squid" because this matches both "squid" and "squid_radius_auth". The code needs to match more of the full PBI name, which always has a "-" after the base package name. So matching "squid-" will fix this issue. This is a general issue for packages that have names that are substrings of each other.
See the forum post [[http://forum.pfsense.org/index.php/topic,45487.15.html]] for the discussion.
Actions