aboutsummaryrefslogtreecommitdiff
path: root/config.dot
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-11-06 17:01:00 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-11-06 17:01:00 -0200
commitf7e86206f587b2ec1ab354e8c0e7336c54a243dc (patch)
tree77066fcbda3585d24d018ec6fd98fd8c751fba6f /config.dot
parent988fee6db67abce1b0220abd40a7a78f6f3ae5de (diff)
downloaddebian-f7e86206f587b2ec1ab354e8c0e7336c54a243dc.tar.gz
debian-f7e86206f587b2ec1ab354e8c0e7336c54a243dc.tar.bz2
Pbuilder: support for local repository (2)
Diffstat (limited to 'config.dot')
-rwxr-xr-xconfig.dot/pbuilder/hooks/D90update.link3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.dot/pbuilder/hooks/D90update.link b/config.dot/pbuilder/hooks/D90update.link
index 0c5ac42..d644b66 100755
--- a/config.dot/pbuilder/hooks/D90update.link
+++ b/config.dot/pbuilder/hooks/D90update.link
@@ -5,8 +5,11 @@
set -e
+# Generated local repository metadata
if [ ! -z "$LOCALDEBS" ]; then
+ echo "deb [trusted=yes] file://${LOCALDEBS} ./" >> /etc/apt/sources.list
( cd $LOCALDEBS; apt-ftparchive packages . > Packages )
fi
+# Update package list
/usr/bin/apt-get update