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"