Bug#260811: a couple of syntax errors in /sbin/update-grub
Kiko Piris
Kiko Piris <menorqui@pirispons.net>, 260811@bugs.debian.org
Thu, 22 Jul 2004 12:26:01 +0200
Package: grub
Version: 0.95+cvs20040624-5
Severity: important
Tags: patch
There are a couple of syntax errors in /sbin/update-grub, following is a
trivial patch to fix them:
---8<---
--- /sbin/update-grub_0.95+cvs20040624-5 2004-07-21 01:12:00.000000000 +0200
+++ /sbin/update-grub 2004-07-22 12:18:59.000000000 +0200
@@ -202,10 +202,10 @@ convert () {
# (hd0,0) if anything goes wrong
convert_default () {
local tmp
- if tmp=$(convert $1 2>/dev/null) ; then
+ if tmp=$(convert $1 2>/dev/null) ; then
echo $tmp
else
- echo "(hd0,0)"
+ echo "(hd0,0)"
fi
}
--->8---
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=es_ES.ISO-8859-15, LC_CTYPE=es_ES.ISO-8859-15 (ignored: LC_ALL set to es_ES@euro)
Versions of packages grub depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
-- no debconf information