diff --git a/README.md b/README.md index f1f89e44f..986a6acbe 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ See the [CONTRIBUTING](CONTRIBUTING.md) file. To update to the latest version of TinyPilot, run the update script: ```bash -/opt/tinypilot/scripts/upgrade && sudo reboot +sudo /opt/tinypilot-privileged/scripts/update && sudo reboot ``` ## Diagnostics diff --git a/get-tinypilot.sh b/get-tinypilot.sh index b1a2d7671..96db0348d 100755 --- a/get-tinypilot.sh +++ b/get-tinypilot.sh @@ -44,7 +44,7 @@ if [[ "${HAS_PRO_INSTALLED}" = 1 ]]; then printf "Community Edition.\n\n" printf "You probably want to update to the latest version of TinyPilot " printf "Pro instead:\n\n" - printf " /opt/tinypilot/scripts/upgrade && sudo reboot\n" + printf " sudo /opt/tinypilot-privileged/scripts/update && sudo reboot\n" printf "\n" printf "If you *really* want to downgrade to TinyPilot Community Edition, " printf "type the following:\n\n" diff --git a/scripts/upgrade b/scripts/upgrade deleted file mode 100755 index 99887c832..000000000 --- a/scripts/upgrade +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -# The canonical way to update is through the update script below, -# but this file is here for backwards compatibility. - -# Without this file, we have no way of giving users an update command -# that will work regardless of TinyPilot version. - -sudo /opt/tinypilot-privileged/scripts/update