diff --git a/auto_install/install.sh b/auto_install/install.sh index 202b469..1e5f7d6 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -818,8 +818,6 @@ chooseUser(){ echo "::: Cancel selected, exiting...." exit 1 fi - - } isRepo(){ @@ -990,7 +988,7 @@ installWireGuard(){ # Do not upgrade packages from the unstable repository except for wireguard echo "::: Adding Debian repository... " echo "deb https://deb.debian.org/debian/ unstable main" | $SUDO tee /etc/apt/sources.list.d/pivpn-unstable.list > /dev/null - printf 'Package: *\nPin: release a=unstable\nPin-Priority: 1\n\nPackage: wireguard wireguard-dkms wireguard-tools\nPin: release a=unstable\nPin-Priority: 500\n' | $SUDO tee /etc/apt/preferences.d/limit-unstable > /dev/null + printf 'Package: *\nPin: release a=unstable\nPin-Priority: 1\n\nPackage: wireguard wireguard-dkms wireguard-tools\nPin: release a=unstable\nPin-Priority: 500\n' | $SUDO tee /etc/apt/preferences.d/pivpn-limit-unstable > /dev/null $SUDO apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138 # shellcheck disable=SC2086