diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index 5d464c6a..411d00c4 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -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." }