diff options
author | Miquel Lionel <lionelmiquel@sfr.fr> | 2020-11-15 17:30:54 +0100 |
---|---|---|
committer | Miquel Lionel <lionelmiquel@sfr.fr> | 2020-11-15 17:30:54 +0100 |
commit | 6a7822f41b43c296a40323a84c05a022f450aa11 (patch) | |
tree | 71ab2479894c4973626c9d00e5266b939ee31aee /install.sh | |
parent | 38bffc04be31e117db77e94eeeac812cdce8da76 (diff) | |
download | gpigeon-6a7822f41b43c296a40323a84c05a022f450aa11.tar.gz gpigeon-6a7822f41b43c296a40323a84c05a022f450aa11.zip |
Correction fonction check_vars d'install.sh
La commande avec sha256sum avait besoin d'ĂȘtre pipĂ© dans cut
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |