@@ -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 -- <OPTIONS>
+ curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh && sudo bash debi.sh <OPTIONS>
## Available Options
@@ -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