This commit is contained in:
Bob Mottram 2017-06-19 11:15:14 +01:00
parent 7438e6ffc3
commit 7d15f0a330
2 changed files with 4 additions and 4 deletions

View File

@ -724,12 +724,12 @@ function mesh_tox_client {
} }
function enable_tox_repo { 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 echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/Debian_9.0/ /' > $rootdir/etc/apt/sources.list.d/tox.list
cat >> $rootdir/root/gettoxkey.sh <<EOF cat >> $rootdir/root/gettoxkey.sh <<EOF
#!/bin/bash #!/bin/bash
wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key -O- > /root/tox.key wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_9.0/Release.key -O- > /root/tox.key
apt-key add /root/tox.key apt-key add /root/tox.key
rm /root/tox.key rm /root/tox.key
EOF EOF

View File

@ -233,8 +233,8 @@ function mesh_firewall {
} }
function enable_tox_repo { function enable_tox_repo {
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/Debian_8.0/ /' > /etc/apt/sources.list.d/tox.list" sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/Debian_9.0/ /' > /etc/apt/sources.list.d/tox.list"
wget http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key wget http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_9.0/Release.key
sudo sh -c "apt-key add - < Release.key" sudo sh -c "apt-key add - < Release.key"
sudo apt-get update sudo apt-get update
echo "Tox Repository Installed." echo "Tox Repository Installed."