Commit cdb2a371cd119f8990953d231baf8caee0997a87
1 parent
8d2e48e9
Exists in
master
and in
29 other branches
quick-start: use local repo at tmp/debian/ if present
This helps me test packaging new dependencies before uploading them to the live repository
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
script/install-dependencies/debian-wheezy.sh
... | ... | @@ -50,6 +50,13 @@ FPQAoNmiMgP6zGF9rgOEWMEiFEryayrz |
50 | 50 | EOF |
51 | 51 | fi |
52 | 52 | |
53 | +if test -f tmp/debian/Release.gpg; then | |
54 | + echo "deb file://$(pwd)/tmp/debian/ ./" | sudo tee /etc/apt/sources.list.d/local.list | |
55 | + sudo apt-key add tmp/debian/signing-key.asc | |
56 | +else | |
57 | + rm -f /etc/apt/sources.list.d/local.list | |
58 | +fi | |
59 | + | |
53 | 60 | run sudo apt-get update |
54 | 61 | run sudo apt-get -qy dist-upgrade |
55 | 62 | ... | ... |