summaryrefslogtreecommitdiff
path: root/busybox/busybox-1.00-rc2/prerm
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-07 12:01:08 +0000
committerPhil Blundell <philb@gnu.org>2004-08-07 12:01:08 +0000
commit145cc721a2791c3e032ef18d1f96daa7f5350691 (patch)
tree0ca2e31bf2252b9b4164acda4f24b1efedb8d882 /busybox/busybox-1.00-rc2/prerm
parentdf056f9c1d74ecf3334aec3502b0ee304be350e9 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into workhouse.nexus.co.uk:/home/pb/oe/oe-packages 2004/08/07 13:00:51+01:00 nexus.co.uk!pb update busybox back to 1.00-rc2; add McQueen patch for modprobe BKrev: 4114c484p-qOmdVHZV0prZBT4vb2jg
Diffstat (limited to 'busybox/busybox-1.00-rc2/prerm')
-rw-r--r--busybox/busybox-1.00-rc2/prerm10
1 files changed, 10 insertions, 0 deletions
diff --git a/busybox/busybox-1.00-rc2/prerm b/busybox/busybox-1.00-rc2/prerm
new file mode 100644
index 0000000000..7ade4b1dec
--- /dev/null
+++ b/busybox/busybox-1.00-rc2/prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ "$1" != "upgrade" ]; then
+ update-alternatives --remove sh /bin/busybox
+ update-alternatives --remove vi /bin/busybox
+ find /etc -name [SK][0-9][0-9]hwclock.sh | xargs rm -f
+ find /etc -name [SK][0-9][0-9]syslog | xargs rm -f
+fi
+
+exit 0