Use dpkg-vendor instead of lsb_release.
Michael Biebl
13 years ago
8 | 8 |
- Bump Build-Depends on debhelper to (>= 7.0.50~) for override targets.
|
9 | 9 |
- Convert debian/rules to use dh.
|
10 | 10 |
* Bump Standards-Version to 3.9.1. No further changes.
|
|
11 |
* Use dpkg-vendor instead of lsb_release.
|
11 | 12 |
|
12 | 13 |
-- Michael Biebl <biebl@debian.org> Mon, 27 Dec 2010 22:52:18 +0100
|
13 | 14 |
|
4 | 4 |
Uploaders: Michael Biebl <biebl@debian.org>, Martin Pitt <mpitt@debian.org>
|
5 | 5 |
Build-Depends: debhelper (>= 7.0.50~),
|
6 | 6 |
autotools-dev,
|
7 | |
lsb-release,
|
8 | 7 |
pkg-config,
|
9 | 8 |
libudev-dev
|
10 | 9 |
Standards-Version: 3.9.1
|
11 | 11 |
override_dh_install:
|
12 | 12 |
dh_install
|
13 | 13 |
# when building for Ubuntu, install Apport hook
|
14 | |
if [ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ]; then \
|
|
14 |
if dpkg-vendor --is ubuntu; then \
|
15 | 15 |
install -m 644 -D debian/local/apport-hook.py debian/libatasmart4/usr/share/apport/package-hooks/libatasmart4.py; \
|
16 | 16 |
fi
|
17 | 17 |
|