File: check-conflicts

package info (click to toggle)
manpages 4.10-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,464 kB
  • ctags: 5
  • sloc: sh: 435; python: 166; makefile: 75; lisp: 22
file content (18 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

BASEMAN="/usr/share/man"

which apt-file >/dev/null 2>&1
if [ $? -ne 0 ] ; then
	echo "apt-file is required" 1>&2 ;
       	exit 1
fi

echo -e "WARNING: This tool assumes apt-file has been updated based on sid\n" 1>&2 ; 


for j in man*/*.* ;
	do (dpkg -S "$BASEMAN/$j.gz" 2>/dev/null || apt-file search "$BASEMAN/$j.gz") \
		| grep -v '^manpages:' \
		| grep -v '^manpages-dev:' ;
done