l-n-s / wireguard-install

WireGuard VPN server installer
MIT License
658 stars 166 forks source link

Minor Fixes #1

Open zellkou opened 5 years ago

zellkou commented 5 years ago
  1. Due to pulling wireguard from unstable it will support any version of debian so I removed the 9
  2. Pulled some variables from another script I wrote for server setups. I find it a much cleaner way to check distro and version.
  3. Added a check for Ubuntu that was missing.
  4. Fixed placement of "-y" in apt commands
  5. Attempted to mitigate for the edge case of already having unstable repository enabled. By checking for "/sources.list.d/unstable.list" and "/preferences.d/unstable"

Thanks for writing this I know it will come in very handy.

l-n-s commented 5 years ago

Thanks for your interest, I'll have a look soon