aboutsummaryrefslogtreecommitdiff
path: root/config.dot/pbuilder/hooks/B90lintian.link
blob: 625625d6b8ce1e1dd301c109391924bcd5bed161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
#
# We could just symlink /usr/share/doc/pbuilder/examples/B90lintian
# but we dont want lintian to faild the build.
#

set -e

install_packages() {
    apt-get -y "${APTGETOPT[@]}" install "$@"
}

install_packages lintian

echo "+++ lintian output +++"

#su -c "lintian -I --show-overrides /tmp/buildd/*.changes" - pbuilder
# use this version if you don't want lintian to fail the build
su -c "lintian -I --show-overrides /tmp/buildd/*.changes; :" - pbuilder

echo "+++ end of lintian output +++"