summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/youbin/pkg-req2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/youbin/pkg-req b/mail/youbin/pkg-req
index 49ca506bd304..54c20c0a27ae 100644
--- a/mail/youbin/pkg-req
+++ b/mail/youbin/pkg-req
@@ -7,7 +7,7 @@ case "$2" in
echo '* It is discouraged to use this program to avoid any security *'
echo '* problem. *'
echo '**********************************************************************'
- if [ "X${BATCH}" = "Xyes" ]; then
+ if [ ! -z "${PACKAGE_BUILDING}" || ! -z "${BATCH}" ]; then
exit 0
fi
read -p 'Would you like to proceed (y/n)? ' ans