~ubuntu-branches/ubuntu/raring/lsb/raring-proposed

1.1.2 by Chris Lawrence
* Revert change in 3.2-16 that broke killproc due to my misunderstanding
1
#!/bin/sh
2
echo 'lsb_release output' >& 3
3
echo '-*- -*- -*- -*- -*-'>&3
4
lsb_release -a >& 3
5
echo '-*- -*- -*- -*- -*-'>&3
6
echo '    Apt policy' >&3
7
echo '-*- -*- -*- -*- -*-'>&3
8
apt-cache policy >&3
9
echo '-*- -*- -*- -*- -*-'>&3
10
echo '   sources.list' >&3
11
echo '-*- -*- -*- -*- -*-'>&3
12
if [ -f /etc/apt/sources.list ]; then
13
    cat /etc/apt/sources.list | grep -v '^\s*#' | grep -v '^\s*$' >&3
14
else
15
    echo '- none' >&3
16
fi
17
echo '-*- -*- -*- -*- -*-'>&3
18
echo ' /etc/lsb_release' >&3
19
echo '-*- -*- -*- -*- -*-'>&3
20
if [ -f /etc/lsb_release ]; then
21
    cat /etc/lsb_release >&3
22
else
23
    echo '- none' >&3
24
fi