|
@@ -688,9 +688,14 @@ 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- > /root/tox.key
|
692
|
|
- chroot "$rootdir" apt-key add /root/tox.key
|
693
|
|
- chroot "$rootdir" rm /root/tox.key
|
|
691
|
+ cat >> $rootdir/root/gettoxkey.sh <<EOF
|
|
692
|
+#!/bin/bash
|
|
693
|
+wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key -O- > /root/tox.key
|
|
694
|
+apt-key add /root/tox.key
|
|
695
|
+rm /root/tox.key
|
|
696
|
+EOF
|
|
697
|
+ chroot "$rootdir" chmod +x /root/gettoxkey.sh
|
|
698
|
+ chroot "$rootdir" /root/gettoxkey.sh
|
694
|
699
|
chroot "$rootdir" apt-get update
|
695
|
700
|
echo "Tox Repository Installed."
|
696
|
701
|
}
|