projects
/
busybox-power
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fbe688a
)
don't set up a local diversion
author
Dennis Groenen
<tj.groenen@gmail.com>
Mon, 26 Nov 2012 20:51:44 +0000
(21:51 +0100)
committer
Dennis Groenen
<tj.groenen@gmail.com>
Mon, 26 Nov 2012 20:51:44 +0000
(21:51 +0100)
debian/busybox-power.postinst
patch
|
blob
|
history
diff --git
a/debian/busybox-power.postinst
b/debian/busybox-power.postinst
index
e2d7c5a
..
0dd43bc
100644
(file)
--- a/
debian/busybox-power.postinst
+++ b/
debian/busybox-power.postinst
@@
-71,7
+71,10
@@
ROLLBACK_HARMATTAN() {
INSTALL() {
case $ENVIRONMENT in
SDK|DIABLO|FREMANTLE)
- /usr/sbin/dpkg-divert --local --divert $DISTBIN /bin/busybox
+ # Divert in postinst instead of preinst, we don't want to leave Maemo
+ # without /bin/busybox for a short period of time
+ /usr/sbin/dpkg-divert --package busybox-power --add \
+ --divert $DISTBIN /bin/busybox
$EXECPWR cp -f $EXECPWR /bin/busybox
;;
HARMATTAN)