diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-06 10:58:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-06 10:58:58 -0200 |
commit | 013f78babc828fea43d453ff8f8eff8960f025d0 (patch) | |
tree | a69c1423f58741b3c607da1bbb757fa0c9470747 | |
parent | e86670f6e388e8782ba5e5e011e858e37280827f (diff) | |
download | debian-013f78babc828fea43d453ff8f8eff8960f025d0.tar.gz debian-013f78babc828fea43d453ff8f8eff8960f025d0.tar.bz2 |
Adds missing files
l--------- | config.dot/pbuilder/hooks/B90lintian.link.strict | 1 | ||||
-rwxr-xr-x | config.dot/pbuilder/hooks/E01apt-preferences.link | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/config.dot/pbuilder/hooks/B90lintian.link.strict b/config.dot/pbuilder/hooks/B90lintian.link.strict new file mode 120000 index 0000000..695f301 --- /dev/null +++ b/config.dot/pbuilder/hooks/B90lintian.link.strict @@ -0,0 +1 @@ +/usr/share/doc/pbuilder/examples/B90lintian
\ No newline at end of file diff --git a/config.dot/pbuilder/hooks/E01apt-preferences.link b/config.dot/pbuilder/hooks/E01apt-preferences.link new file mode 100755 index 0000000..ec0887f --- /dev/null +++ b/config.dot/pbuilder/hooks/E01apt-preferences.link @@ -0,0 +1,17 @@ +#!/bin/sh +# See https://wiki.ubuntu.com/PbuilderHowto#Using_backport_repositories_in_pbuilder +set -e + +WHEEZY_VERSION_REGEX='^7\.[0-9]\+$' + +if $(cat "/etc/debian_version" | grep -q -e "$WHEEZY_VERSION_REGEX"); then +cat > "/etc/apt/preferences" << EOF +Package: debhelper +Pin: release a=wheezy-backports +Pin-Priority: 999 + +Package: lintian +Pin: release a=wheezy-backports +Pin-Priority: 999 +EOF +fi |