3 test "$1" = install || exit 0 # upgrades are fine
6 #if test ! -e /proc/component_version
7 if test -d /scratchbox; then
8 echo "busybox-power: Scratchbox environment detected"
11 PROD=$(cat /proc/component_version | grep product | cut -d" " -f 6)
14 echo "busybox-power: Maemo (N900) environment detected"
18 # Unsupported, use the least strict environment (SDK)
19 echo "busybox-power: unsupported environment, using SDK codepath.."
27 # Extra warning doesn't apply to SDK, just exit
31 f=/tmp/busybox-power-msg
33 Warning: This package touches an essential system binary!
34 Even though installation should be safe, a reflash might be required if something does go wrong (i.e. worst-case scenario).
36 Files overwritten by this package:
39 echo "Please confirm the text on the screen of your device"
40 maemo-confirm-text "Installation notes" $f