From a0c5fb1815310c6b931164d37db84e9efe9c5aa1 Mon Sep 17 00:00:00 2001 From: Dennis Groenen Date: Wed, 28 Nov 2012 21:27:20 +0100 Subject: [PATCH] modify warning messages, include more information --- debian/busybox-power.prerm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/debian/busybox-power.prerm b/debian/busybox-power.prerm index e793a33..a0d4ea1 100644 --- a/debian/busybox-power.prerm +++ b/debian/busybox-power.prerm @@ -85,15 +85,16 @@ CHECK_INSTALLEDBIN() { return fi fi - echo -e "Warning: /bin/busybox has been modified since installing" \ - "busybox-power. This can be the result of a BusyBox upgrade (e.g." \ - "by a Meego update). Your current /bin/busybox won't be touched." \ - "Our backup of the original BusyBox binary will be left at" \ - "$DISTBIN.\n" >> /tmp/busybox-power-error + echo -e "Warning: /bin/busybox does not match busybox-power's binary" \ + "This can be the result of a BusyBox upgrade (e.g. by a MeeGo" \ + "update), an unsuccessful busybox-power installation, or a manual" \ + "replacement of it. Your current /bin/busybox won't be touched. Our" \ + "backup of the original BusyBox binary will be left at $DISTBIN.\n" \ + >> /tmp/busybox-power-error else - echo -e "Warning: /bin/busybox has been modified since installing" \ - "busybox-power. Your current /bin/busybox won't be touched and the" \ - "diversion of /bin/busybox to $DISTBIN will not be removed.\n" \ + echo -e "Warning: /bin/busybox does not match busybox-power's binary." \ + "Your current /bin/busybox won't be touched and the diversion of" \ + "/bin/busybox to $DISTBIN will not be removed.\n" \ >> /tmp/busybox-power-error fi fi -- 1.7.9.5