]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/grub-0.97/grub-0.97-symlinkmenulst.patch
Anpassung der Pfadangaben für GRUB.
[people/pmueller/ipfire-2.x.git] / src / patches / grub-0.97 / grub-0.97-symlinkmenulst.patch
CommitLineData
27996c53
MT
1diff -ur grub-0.97/util/grub-install.in grub-0.97-old/util/grub-install.in
2--- grub-0.97/util/grub-install.in 2006-08-05 16:46:33.505226176 +0200
3+++ grub-0.97-old/util/grub-install.in 2004-07-24 20:57:31.000000000 +0200
4@@ -447,6 +447,10 @@
5 rm -f $img_file
6 rm -f $log_file
7
8+if ! test -e ${grubdir}/grub.conf ; then
9+ test -e ${grubdir}/menu.lst && ln -s ./menu.lst ${grubdir}/grub.conf
10+fi
11+
12 # Create a safe temporary file.
13 test -n "$mklog" && log_file=`$mklog`
14