- maknut :q! iz postinsta (wtf?)
authorDinko Korunic <kreator@carnet.hr>
Tue, 2 Jun 2009 15:23:20 +0000 (17:23 +0200)
committerDinko Korunic <kreator@carnet.hr>
Tue, 2 Jun 2009 15:23:20 +0000 (17:23 +0200)
- reimport Grub funkcija nakon stvaranja device mapa

debian/postinst

index a4b7577..1496836 100755 (executable)
@@ -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%')