diff options
author | Aaron Queen <bompus@users.noreply.github.com> | 2023-04-25 05:50:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 07:50:19 -0400 |
commit | aa1d9f0238331f218519da121d8e0dd005bb1f27 (patch) | |
tree | c3afd3dea127319575d5a17fe34e1088f1a245a0 /packaging/makeself | |
parent | 7105e1e4ba200a1ffe5c6c573c5ea9d3f3d223db (diff) |
Prevent pager from preventing non-interactive install (#14950)
* prevent pager from preventing non-interactive install
* Update makeself-header.sh
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-x | packaging/makeself/makeself-header.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/makeself/makeself-header.sh b/packaging/makeself/makeself-header.sh index fc54b004a9..47992b2caa 100755 --- a/packaging/makeself/makeself-header.sh +++ b/packaging/makeself/makeself-header.sh @@ -70,7 +70,7 @@ MS_PrintLicense() PAGER=\${PAGER:=more} if test x"\$licensetxt" != x; then PAGER_PATH=\`exec <&- 2>&-; which \$PAGER || command -v \$PAGER || type \$PAGER\` - if test -x "\$PAGER_PATH"; then + if test -x "\$PAGER_PATH" && test x"\$accept" != xy; then echo "\$licensetxt" | \$PAGER else echo "\$licensetxt" |