diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-11-06 17:01:00 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-11-06 17:01:00 -0200 |
commit | f7e86206f587b2ec1ab354e8c0e7336c54a243dc (patch) | |
tree | 77066fcbda3585d24d018ec6fd98fd8c751fba6f /config.dot | |
parent | 988fee6db67abce1b0220abd40a7a78f6f3ae5de (diff) | |
download | debian-f7e86206f587b2ec1ab354e8c0e7336c54a243dc.tar.gz debian-f7e86206f587b2ec1ab354e8c0e7336c54a243dc.tar.bz2 |
Pbuilder: support for local repository (2)
Diffstat (limited to 'config.dot')
-rwxr-xr-x | config.dot/pbuilder/hooks/D90update.link | 3 |
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 |