From: Dinko Korunic Date: Tue, 2 Jun 2009 15:23:20 +0000 (+0200) Subject: - maknut :q! iz postinsta (wtf?) X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=18b392155711e402374270ab2f90921fe2b6bc44;p=kernel-cn.git - maknut :q! iz postinsta (wtf?) - reimport Grub funkcija nakon stvaranja device mapa --- 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%')