diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 612c738b..fac74624 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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