0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-02 20:48:06 +00:00

Prevent pager from preventing non-interactive install ()

* prevent pager from preventing non-interactive install

* Update makeself-header.sh
This commit is contained in:
Aaron Queen 2023-04-25 05:50:19 -06:00 committed by GitHub
parent 7105e1e4ba
commit aa1d9f0238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"