Codebase list debian-goodies / 20aba0c
Provide a hint if a "$package-doc" package also exists Closes: #798407 Chris Lamb authored 7 years ago Axel Beckert committed 7 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
226226 debug "Mode2: Found manpages/docs" # comment
227227 fi
228228 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
229241 fi
230242
231243 if [ "$status" = "installed" ]