From 6a7822f41b43c296a40323a84c05a022f450aa11 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Sun, 15 Nov 2020 17:30:54 +0100 Subject: Correction fonction check_vars d'install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La commande avec sha256sum avait besoin d'ĂȘtre pipĂ© dans cut --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 00d1089..5692c50 100755 --- a/install.sh +++ b/install.sh @@ -97,7 +97,7 @@ __check_setupvars() { APP_PW_SANE="$(echo $APP_PW | sed s/{/\\\\{/g | sed s/}/\\\\}/g)" # password checksum'd so no plaintext - HASHED_PASSWORD=$(printf "%s" "$APP_PW" | sha256sum) + HASHED_PASSWORD=$(printf "%s" "$APP_PW" | sha256sum | cut -d' ' -f1) if ! echo "$YOUR_EMAIL" | grep "$emailre" >/dev/null; then printf "\nYour email address is not a valid one. Edit $self_fullpath and -- cgit v1.2.3-70-g09d2