File: dpkg-find

package info (click to toggle)
dconf 0.5.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 800 kB
  • ctags: 47
  • sloc: python: 380; makefile: 78; sh: 34
file content (9 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/bash
base='/var/lib/dpkg/info'
for i in $(dpkg -l | grep ^ii | cut -d' ' -f3); do
	if [ -f "$base/$i.conffiles" ]; then
		echo "===$i==="
		cat "$base/$i.conffiles"
		echo
	fi
done