From e9f0dc1a9706518988c203a3e2ed26af4b2b9025 Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Sat, 9 Jan 2021 05:50:30 +0000 Subject: [PATCH] Revert --- README.md | 2 +- debi.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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