# dpkg-divert is disallowed on Harmattan, do not use it there!
INSTALL() {
case $ENVIRONMENT in
- SDK|FREMANTLE)
+ SDK|DIABLO|FREMANTLE)
/usr/sbin/dpkg-divert --local --divert $DISTBIN /bin/busybox
$EXECPWR cp -f $EXECPWR /bin/busybox
;;
fi
case $PROD in
+ RX-34|RX-44)
+ echo "busybox-power: Maemo4 (N8x0) environment detected"
+ ENVIRONMENT="DIABLO"
+ ;;
RX-51)
- echo "busybox-power: Maemo (N900) environment detected"
+ echo "busybox-power: Maemo5 (N900) environment detected"
ENVIRONMENT="FREMANTLE"
;;
RM-680|RM-696)
# Extra warning doesn't apply to SDK, just exit
exit 0
;;
- FREMANTLE)
+ DIABLO|FREMANTLE)
f=/tmp/busybox-power-msg
cat > $f <<EOF
Warning: This package touches an essential system binary!
-Even though installation should be safe, a reflash might be required if something does go wrong (i.e. worst-case scenario).
+Even though installation should be safe, a reflash might be required
+if something does go wrong (i.e. worst-case scenario).
Files overwritten by this package:
bin/busybox
echo " Hit [ctrl-c] to break"
read
;;
- FREMANTLE)
+ DIABLO|FREMANTLE)
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"
fi
case $ENVIRONMENT in
- SDK|FREMANTLE)
+ SDK|DIABLO|FREMANTLE)
if test -e $DISTBIN; then
cp -af $DISTBIN /bin/busybox
if test -e /bin/busybox; then