Bohan Yang 5 years ago
parent
commit
e9f0dc1a97
2 changed files with 1 additions and 4 deletions
  1. 1 1
      README.md
  2. 0 3
      debi.sh

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

+ 0 - 3
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