projects
/
busybox-power
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aafdc74
)
use aegis-exec to call meego-confirm-text for displaying errors
author
Dennis Groenen
<tj.groenen@gmail.com>
Thu, 25 Oct 2012 17:26:36 +0000
(19:26 +0200)
committer
Dennis Groenen
<tj.groenen@gmail.com>
Thu, 25 Oct 2012 17:26:36 +0000
(19:26 +0200)
debian/busybox-power.prerm
patch
|
blob
|
history
diff --git
a/debian/busybox-power.prerm
b/debian/busybox-power.prerm
index
3659037
..
8c69008
100644
(file)
--- a/
debian/busybox-power.prerm
+++ b/
debian/busybox-power.prerm
@@
-123,7
+123,10
@@
DISPLAY_ERRORS() {
echo "Click \"I Agree\" to ignore the above errors/warnings. Ask for" \
"help if you don't know what to do." >> /tmp/busybox-power-error
echo "Please confirm the text on the screen of your device"
echo "Click \"I Agree\" to ignore the above errors/warnings. Ask for" \
"help if you don't know what to do." >> /tmp/busybox-power-error
echo "Please confirm the text on the screen of your device"
- meego-confirm-text "Attention!" /tmp/busybox-power-error > /dev/null 2>&1
+ # We're too privileged to call meego-confirm-text...
+ # Our source is com.nokia.maemo, whilst m-c-t is from an unknown source
+ /usr/bin/aegis-exec meego-confirm-text "Attention!" \
+ /tmp/busybox-power-error > /dev/null 2>&1
res=$?
rm /tmp/busybox-power-error
if test ! $res == 0; then exit 1; fi
res=$?
rm /tmp/busybox-power-error
if test ! $res == 0; then exit 1; fi