projects
/
busybox-power
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceaec73
)
don't always show the first-time installation warning message
author
Dennis Groenen
<tj.groenen@gmail.com>
Mon, 26 Nov 2012 19:26:59 +0000
(20:26 +0100)
committer
Dennis Groenen
<tj.groenen@gmail.com>
Mon, 26 Nov 2012 19:27:04 +0000
(20:27 +0100)
debian/busybox-power.preinst
patch
|
blob
|
history
diff --git
a/debian/busybox-power.preinst
b/debian/busybox-power.preinst
index
102de6d
..
b71d7c2
100644
(file)
--- a/
debian/busybox-power.preinst
+++ b/
debian/busybox-power.preinst
@@
-33,6
+33,11
@@
else
esac
fi
+# Don't show the warning message when the user wants an unattended installation
+# or if $DISPLAY is not set
+if test -z "$DISPLAY" || test -e /tmp/.bbp-unattended; then exit 0; fi
+
+# Warning message
case $ENVIRONMENT in
SDK)
# Extra warning doesn't apply to SDK, just exit