aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2020-11-15 17:30:54 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2020-11-15 17:30:54 +0100
commit6a7822f41b43c296a40323a84c05a022f450aa11 (patch)
tree71ab2479894c4973626c9d00e5266b939ee31aee
parent38bffc04be31e117db77e94eeeac812cdce8da76 (diff)
downloadgpigeon-6a7822f41b43c296a40323a84c05a022f450aa11.tar.gz
gpigeon-6a7822f41b43c296a40323a84c05a022f450aa11.zip
Correction fonction check_vars d'install.sh
La commande avec sha256sum avait besoin d'ĂȘtre pipĂ© dans cut
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
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