From: Patrice Fournier Date: Tue, 17 Dec 2024 17:53:51 +0000 (-0500) Subject: [Scripts] Only show email changed section if it was changed X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=89b9e4f4ff4c2dfc7680aed1bddac1c2fd45cec3;p=thirdparty%2Ffreeswitch.git [Scripts] Only show email changed section if it was changed Show the email section when the email has changed instead of when the name has changed in the git setup script. --- diff --git a/scripts/setup-git.sh b/scripts/setup-git.sh index 54d30219d6..ffdc47dfe9 100755 --- a/scripts/setup-git.sh +++ b/scripts/setup-git.sh @@ -73,7 +73,7 @@ EOF via 'git config --global user.name "$name" EOF -[ -n "$name" ] \ +[ -n "$email" ] \ && cat 1>&2 <