Provide a hint if a "$package-doc" package also exists
Closes: #798407
Chris Lamb authored 6 years ago
Axel Beckert committed 6 years ago
226 | 226 | debug "Mode2: Found manpages/docs" # comment |
227 | 227 | fi |
228 | 228 | fi |
229 | fi | |
230 | ||
231 | if [ -z "$file" ] | |
232 | then | |
233 | for suffix in -doc | |
234 | do | |
235 | otherpackage="$package$suffix" | |
236 | if apt-cache show "$otherpackage" >/dev/null 2>&1 | |
237 | then | |
238 | echo "I: A package called $otherpackage also exists - you may wish to try there" >&2 | |
239 | fi | |
240 | done | |
229 | 241 | fi |
230 | 242 | |
231 | 243 | if [ "$status" = "installed" ] |