diff --git a/README.md b/README.md index a0473b8..7fbca27 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This script is written to reinstall a VPS/virtual machine to Debian 10 Buster. ## Usage - curl -fL https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh | sudo bash -s -- + curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh && sudo bash debi.sh ## Available Options diff --git a/debi.sh b/debi.sh index 9b5dc89..22ff777 100755 --- a/debi.sh +++ b/debi.sh @@ -2,9 +2,6 @@ set -euo pipefail -# Discard stdin. Needed when running from an one-liner which includes a newline -read -r -N 999999 -t 0.001 - err() { echo "Error: $1." 1>&2 exit 1