diff --git a/debmany/debmany b/debmany/debmany index 987e347..293b87c 100755 --- a/debmany/debmany +++ b/debmany/debmany @@ -227,6 +227,18 @@ debug "Mode2: Found manpages/docs" # comment fi fi +fi + +if [ -z "$file" ] +then + for suffix in -doc + do + otherpackage="$package$suffix" + if apt-cache show "$otherpackage" >/dev/null 2>&1 + then + echo "I: A package called $otherpackage also exists - you may wish to try there" >&2 + fi + done fi if [ "$status" = "installed" ]