projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the symbol for PrintStatus() is architecture dependent
[apt.git]
/
apt-pkg
/
sourcelist.cc
diff --git
a/apt-pkg/sourcelist.cc
b/apt-pkg/sourcelist.cc
index c3ec9865a5b12691a8b32f6b62b2af0185eb364f..851eefdfe7547c1090172685fd74cd3787fabeae 100644
(file)
--- a/
apt-pkg/sourcelist.cc
+++ b/
apt-pkg/sourcelist.cc
@@
-197,7
+197,7
@@
bool pkgSourceList::ReadMainList()
string Main = _config->FindFile("Dir::Etc::sourcelist");
string Parts = _config->FindDir("Dir::Etc::sourceparts");
string Main = _config->FindFile("Dir::Etc::sourcelist");
string Parts = _config->FindDir("Dir::Etc::sourceparts");
- if (FileExists(Main) == true)
+ if (
Real
FileExists(Main) == true)
Res &= ReadAppend(Main);
else if (DirectoryExists(Parts) == false)
// Only warn if there are no sources.list.d.
Res &= ReadAppend(Main);
else if (DirectoryExists(Parts) == false)
// Only warn if there are no sources.list.d.
@@
-205,9
+205,9
@@
bool pkgSourceList::ReadMainList()
if (DirectoryExists(Parts) == true)
Res &= ReadSourceDir(Parts);
if (DirectoryExists(Parts) == true)
Res &= ReadSourceDir(Parts);
- else if (FileExists(Main) == false)
+ else if (
Real
FileExists(Main) == false)
// Only warn if there is no sources.list file.
// Only warn if there is no sources.list file.
- _error->WarningE("FileExists", _("Unable to read %s"), Main.c_str());
+ _error->WarningE("
Real
FileExists", _("Unable to read %s"), Main.c_str());
return Res;
}
return Res;
}