From 0649c5da66cf63797d02363ab1b98ba95de940b2 Mon Sep 17 00:00:00 2001 From: Kaladin Light <0.kaladin@gmail.com> Date: Fri, 29 Apr 2016 13:18:28 -0400 Subject: [PATCH] Closes #17 Cause people cared more than I thought they would. (and that's a good thing) --- README.md | 2 +- auto_install/install.sh | 4 ++-- scripts/uninstall.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eea0283..f3b013a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Installation ```shell -curl -L http://install.pivpn.io | bash +curl -L https://install.pivpn.io | bash ``` The script will first update your APT repositories, upgrade packages, and install OpenVPN, diff --git a/auto_install/install.sh b/auto_install/install.sh index 6e005dd..2cca374 100644 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -7,7 +7,7 @@ # # Install with this command (from your Pi): # -# curl -L http://install.pivpn.io | bash +# curl -L https://install.pivpn.io | bash ######## VARIABLES ######### @@ -134,7 +134,7 @@ verifyFreeDiskSpace() { fi if [[ $existingFreeBytes -lt $requiredFreeBytes ]]; then - whiptail --msgbox --backtitle "Insufficient Disk Space" --title "Insufficient Disk Space" "\nYour system appears to be low on disk space. PiVPN recomends a minimum of $requiredFreeBytes Bytes.\nYou only have $existingFreeBytes Free.\n\nIf this is a new install you may need to expand your disk.\n\nTry running:\n 'sudo raspi-config'\nChoose the 'expand file system option'\n\nAfter rebooting, run this installation again.\n\ncurl -L http://install.pivpn.io | bash\n" $r $c + whiptail --msgbox --backtitle "Insufficient Disk Space" --title "Insufficient Disk Space" "\nYour system appears to be low on disk space. PiVPN recomends a minimum of $requiredFreeBytes Bytes.\nYou only have $existingFreeBytes Free.\n\nIf this is a new install you may need to expand your disk.\n\nTry running:\n 'sudo raspi-config'\nChoose the 'expand file system option'\n\nAfter rebooting, run this installation again.\n\ncurl -L https://install.pivpn.io | bash\n" $r $c echo "$existingFreeBytes is less than $requiredFreeBytes" echo "Insufficient free space, exiting..." exit 1 diff --git a/scripts/uninstall.sh b/scripts/uninstall.sh index 9d9aab8..861dcc1 100644 --- a/scripts/uninstall.sh +++ b/scripts/uninstall.sh @@ -90,7 +90,7 @@ echo ":::" echo ":::" printf "::: Finished removing PiVPN from your system.\n" - printf "::: Reinstall by simpling running\n:::\n:::\tcurl -L http://install.pivpn.io | bash\n:::\n::: at any time!\n:::\n" + printf "::: Reinstall by simpling running\n:::\n:::\tcurl -L https://install.pivpn.io | bash\n:::\n::: at any time!\n:::\n" } function askreboot() {