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

« back to all changes in this revision

Viewing changes to debian/lsb-release.bugscript

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-11-02 23:48:49 UTC
  • mfrom: (1.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20081102234849-ixekjvk0kgtqmjuk
Tags: 3.2-20ubuntu1
* Resynchronise with Debian (cups dependency change fixes LP: #279345).
  Remaining changes:
  - Don't conflict with python (>= 2.6).
  - Depend on postfix rather than exim4 as preferred mail-transport-agent
    alternative.
  - Depend on libgl1-mesa-glx rather than libgl1-mesa as preferred libgl1
    alternative.
  - Add Ubuntu logging functions.
* Revert some apparently unintentional dependency changes on the Ubuntu
  side of the merge: move libncurses5 and libpam0g dependencies back from
  lsb-base to lsb-core; set lsb's dependencies on lsb-printing,
  lsb-multimedia, and lsb-languages back to suggestions; and remove lsb's
  suggestion of lsb-qt4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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