diff options
Diffstat (limited to 'config.dot/pbuilder/hooks/D90update.link')
-rwxr-xr-x | config.dot/pbuilder/hooks/D90update.link | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config.dot/pbuilder/hooks/D90update.link b/config.dot/pbuilder/hooks/D90update.link new file mode 100755 index 0000000..0c5ac42 --- /dev/null +++ b/config.dot/pbuilder/hooks/D90update.link @@ -0,0 +1,12 @@ +#!/bin/bash +# +# See https://wiki.debian.org/BuildingFormalBackports +# https://wiki.debian.org/PbuilderTricks#How_to_include_local_packages_in_the_build + +set -e + +if [ ! -z "$LOCALDEBS" ]; then + ( cd $LOCALDEBS; apt-ftparchive packages . > Packages ) +fi + +/usr/bin/apt-get update |