aboutsummaryrefslogtreecommitdiff
path: root/config.dot/pbuilder/hooks/D90update.link
diff options
context:
space:
mode:
Diffstat (limited to 'config.dot/pbuilder/hooks/D90update.link')
-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