Browse Source

Obtaining tox repo key

Bob Mottram 8 years ago
parent
commit
eb7b01f450
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/freedombone-app-tox

+ 3
- 1
src/freedombone-app-tox View File

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