Obtaining tox repo key

This commit is contained in:
Bob Mottram 2016-11-03 14:51:43 +00:00
parent 5f41af2f74
commit eb7b01f450
1 changed files with 3 additions and 1 deletions

View File

@ -688,7 +688,9 @@ function enable_tox_repo {
echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/Debian_8.0/ /' > $rootdir/etc/apt/sources.list.d/tox.list
chroot "$rootdir" /usr/bin/wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key -O- | apt-key add -
chroot "$rootdir" /usr/bin/wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key -O- > /root/tox.key
chroot "$rootdir" apt-key add /root/tox.key
chroot "$rootdir" rm /root/tox.key
chroot "$rootdir" apt-get update
echo "Tox Repository Installed."
}