diff options
author | bubulle@debian.org <> | 2007-07-06 07:18:13 +0200 |
---|---|---|
committer | bubulle@debian.org <> | 2007-07-06 07:18:13 +0200 |
commit | bb454321179ba5cca89e9250ccf2aafa4364e343 (patch) | |
tree | 11ca9f01224a55e69f8401ee45f9cf187d041d73 /cmdline/apt-get.cc | |
parent | c0681fb7e34114df9a562577d3a505402ae17e57 (diff) | |
parent | 6724d2173133f24bc8a3875c13513761f9340627 (diff) |
Sync with Michael
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 554677f39..aa54677be 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1519,7 +1519,8 @@ bool TryInstallTask(pkgDepCache &Cache, pkgProblemResolver &Fix, // build regexp for the task char S[300]; - snprintf(S, sizeof(S), "^Task:.*[^a-z]%s[^a-z].*\n", taskname); + // better: "^Task:.*[^a-z]lamp-server([^a-z]|\n)" ? + snprintf(S, sizeof(S), "^Task:.*[^a-z]%s[^a-z].*$", taskname); regcomp(&Pattern,S, REG_EXTENDED | REG_NOSUB | REG_NEWLINE); bool found = false; |