Hi
I was looking at source code of apt:
apt-0.7.25.3ubuntu5/apt-pkg/policy.cc (line 283)
vector<string> const List = GetListOfFilesInDir(Dir, "pref", true, true);
Second argument of GetListOfFilesInDir is extension filenames (defined in apt-pkg/contrib/fileutl.cc)
preferences.d/* files must have .pref extension, example /etc/apt/preferences.d/local-pin.pref
Hi
I was looking at source code of apt:
apt-0.7. 25.3ubuntu5/ apt-pkg/ policy. cc (line 283)
vector<string> const List = GetListOfFilesI nDir(Dir, "pref", true, true);
Second argument of GetListOfFilesInDir is extension filenames (defined in apt-pkg/ contrib/ fileutl. cc)
preferences.d/* files must have .pref extension, example /etc/apt/ preferences. d/local- pin.pref