From: Dennis Groenen Date: Thu, 25 Oct 2012 17:26:36 +0000 (+0200) Subject: use aegis-exec to call meego-confirm-text for displaying errors X-Git-Tag: 1.20.2power4~2 X-Git-Url: http://git.maemo.org/git/?p=busybox-power;a=commitdiff_plain;h=f176b222d3d68e613f9fff909cdaf824ec952826;ds=sidebyside use aegis-exec to call meego-confirm-text for displaying errors --- diff --git a/debian/busybox-power.prerm b/debian/busybox-power.prerm index 3659037..8c69008 100644 --- 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" - 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