[PATCH 1/2] Trivial patch to get the case statement into the coding style of the grub-installer script.
---
grub-installer | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/grub-installer b/grub-installer
index f9f0761..192be53 100755
--- a/grub-installer
+++ b/grub-installer
@@ -235,13 +235,13 @@ rootfstype="$(findfstype /)"
case $ARCH in
powerpc/chrp|powerpc/chrp_rs6k|powerpc/chrp_ibm|powerpc/cell)
- ;;
+ ;;
ppc64/chrp|ppc64/chrp_rs6k|ppc64/chrp_ibm|ppc64/cell)
- ;;
+ ;;
powerpc/*|ppc64/*)
- offs=$(findfs /boot/grub)
- [ -n "$offs" ] || error "GRUB requires that the OF partition is mounted in /boot/grub" 1>&2
- ;;
+ offs=$(findfs /boot/grub)
+ [ -n "$offs" ] || error "GRUB requires that the OF partition is mounted in /boot/grub" 1>&2
+ ;;
esac
# This code to set disc_offered was taken from lilo-installer
--
1.9.1
Reply to: