From 18b392155711e402374270ab2f90921fe2b6bc44 Mon Sep 17 00:00:00 2001
From: Dinko Korunic <kreator@carnet.hr>
Date: Tue, 2 Jun 2009 17:23:20 +0200
Subject: [PATCH] - maknut :q! iz postinsta (wtf?) - reimport Grub funkcija
 nakon stvaranja device mapa

---
 debian/postinst |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index a4b7577..1496836 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -169,11 +169,14 @@ if [ ! -s "$device_map" ]; then
         mv -f "$device_map.old" "$device_map"
     fi
 
-:q!else
+else
     rm -f "$device_map.old"
 fi
 echo -n " grub4"
 
+# import GRUB helper functions (again, updated device map)
+. /usr/share/kernel-2.6-cn/grub-functions.sh
+
 # get install device (0x80 BIOS device)
 install_device=$(grep '^(hd0)' "$device_map" | \
     sed -e 's%[^[:space:]]*[[:space:]]*\([^[:space:]]*\)%\1%')
-- 
1.7.10.4