@cryptotaxi247 / netdata-1 / commits / aa1d9f023

Prevent pager from preventing non-interactive install (#14950)

* prevent pager from preventing non-interactive install * Update makeself-header.sh

Aaron Queen committed Apr 25, 2023 at 05:50 UTC aa1d9f0238331f218519da121d8e0dd005bb1f27
1 file changed +1 -1
packaging/makeself/makeself-header.sh
+1 -1
@@ -70,7 +70,7 @@ MS_PrintLicense()
70 PAGER=\${PAGER:=more}
71 if test x"\$licensetxt" != x; then
72 PAGER_PATH=\`exec <&- 2>&-; which \$PAGER || command -v \$PAGER || type \$PAGER\`
73 - if test -x "\$PAGER_PATH"; then
73 + if test -x "\$PAGER_PATH" && test x"\$accept" != xy; then
74 echo "\$licensetxt" | \$PAGER
75 else
76 echo "\$licensetxt"