3 test "$1" = install || exit 0 # upgrades are fine
6 #if test ! -e /proc/component_version
9 echo "busybox-power: Scratchbox environment detected"
12 PROD=$(cat /proc/component_version | grep product | cut -d" " -f 6)
15 echo "busybox-power: Maemo (N900) environment detected"
19 # Unsupported, use the least strict environment (SDK)
20 echo "busybox-power: unsupported environment, using SDK codepath.."
28 # Extra warning doesn't apply to SDK, just exit
32 f=/tmp/busybox-power-msg
34 Warning: This package touches an essential system binary!
35 Even though installation should be safe, a reflash might be required if something does go wrong (i.e. worst-case scenario).
37 Files overwritten by this package:
40 maemo-confirm-text "Installation notes" $f