projects
/
kernel-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19c2c3
)
- maknut :q! iz postinsta (wtf?)
author
Dinko Korunic
<kreator@carnet.hr>
Tue, 2 Jun 2009 15:23:20 +0000
(17:23 +0200)
committer
Dinko Korunic
<kreator@carnet.hr>
Tue, 2 Jun 2009 15:23:20 +0000
(17:23 +0200)
- reimport Grub funkcija nakon stvaranja device mapa
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
a4b7577
..
1496836
100755
(executable)
--- 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%')