File: alsa-base.bug.script

package info (click to toggle)
alsa-driver 1.0.13-5etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 20,108 kB
  • ctags: 50,477
  • sloc: ansic: 319,881; sh: 32,930; makefile: 2,015; python: 1,527; perl: 1,316; xml: 896; awk: 66
file content (27 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

exec 1>&3 2>&3

# As of reportbug 3.14 package status information can be added by putting
# a "package-status: <package-name>" line in the bug control file.
# Unfortunately, reportbug << 3.14 crashes if it finds multiple
# fields in the control file.  We don't want to Conflict with
# reportbug << 3.14 if we can avoid it so we use a method of appending
# package info that works with all current versions of reportbug.
# We can switch to the package-status: method after etch is released.
echo "--- Begin additional package status ---"
dpkg -l libasound2
echo "--- End additional package status ---"

for F in version cards ; do
	P="/proc/asound/$F"
	if [ -r "$P" ] ; then
		echo "--- Begin $P ---"
		cat "$P"
		echo "--- End $P ---"
	fi
done

echo "--- Begin /dev/snd/ listing ---"
ls -l /dev/snd
echo "--- End /dev/snd/ listing ---"