diff options
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 5a6369476..aaa419855 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1519,6 +1519,7 @@ bool TryInstallTask(pkgDepCache &Cache, pkgProblemResolver &Fix, // build regexp for the task char S[300]; + // 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); |