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() {