Import tox and syncthing public keys

This commit is contained in:
Bob Mottram 2016-06-23 13:10:34 +01:00
parent 48cee051ab
commit 3e1f751b01
1 changed files with 6 additions and 4 deletions

View File

@ -1016,8 +1016,9 @@ initialise_mesh() {
function enable_tox_repo {
chroot "$rootdir" echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/Debian_8.0/ /' > /etc/apt/sources.list.d/tox.list
chroot "$rootdir" wget http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key
chroot "$rootdir" apt-key add - < Release.key
chroot "$rootdir" wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key -O- | apt-key add -
chroot "$rootdir" apt-get update
echo "Tox Repository Installed."
}
@ -1029,8 +1030,9 @@ function install_syncthing {
chroot "$rootdir" apt-get -y install curl
chroot "$rootdir" curl -s https://syncthing.net/release-key.txt | apt-key add -
chroot "$rootdir" echo "deb http://apt.syncthing.net/ syncthing release" | tee /etc/apt/sources.list.d/syncthing.list
chroot "$rootdir" wget -q ttps://syncthing.net/release-key.txt -O- | apt-key add -
echo "deb http://apt.syncthing.net/ syncthing release" | tee $rootdir/etc/apt/sources.list.d/syncthing.list
chroot "$rootdir" apt-get update
chroot "$rootdir" apt-get -y install syncthing