diff --git a/installers/raspbian.sh b/installers/raspbian.sh index 759c0c5..85dc2e0 100755 --- a/installers/raspbian.sh +++ b/installers/raspbian.sh @@ -9,7 +9,11 @@ function update_system_packages() { function install_dependencies() { install_log "Installing required packages" - sudo apt-get install lighttpd $php_package git hostapd dnsmasq vnstat resolvconf || install_error "Unable to install dependencies" + echo "Install public key used to sign the lokinet binaries." + curl -s https://deb.imaginary.stream/public.gpg | sudo apt-key add - + echo "deb https://deb.imaginary.stream $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/imaginary.stream.list + sudo apt-get update + sudo apt-get install lighttpd $php_package git hostapd dnsmasq vnstat resolvconf lokinet || install_error "Unable to install dependencies" } install_raspap