@ -1,16 +1,16 @@
@@ -1,16 +1,16 @@
#!/bin/bash
figlet "Mistborn: Installing Wireg uard"
figlet "Mistborn: Installing WireG uard"
# if wireguard not in current repositories
if ! $( sudo apt-cache show wireguard > /dev/null 2>& 1) ; then
# install PPAs
echo "Adding Wireg uard PPAs"
echo "Adding WireG uard PPAs"
# Wireguard
if [ " $DISTRO " = = "raspbian" ] || [ " $DISTRO " = = "raspios" ] ; then
echo "Adding Wireg uard repo keys"
echo "Adding WireG uard repo keys"
sudo -E apt-get install -y dirmngr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8B48AD6246925553
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7638D0442B90D010
@ -28,6 +28,6 @@ if ! $(sudo apt-cache show wireguard > /dev/null 2>&1) ; then
@@ -28,6 +28,6 @@ if ! $(sudo apt-cache show wireguard > /dev/null 2>&1) ; then
fi
fi
echo "Installing Wireg uard"
echo "Installing WireG uard"
sudo apt-get update
sudo -E apt-get install -y openresolv wireguard