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:
e826e34
)
- jos failsafe mehanizama tijekom instalacije alternativnih sektora..
author
Dinko Korunic
<kreator@carnet.hr>
Thu, 28 Apr 2011 14:21:26 +0000
(16:21 +0200)
committer
Dinko Korunic
<kreator@carnet.hr>
Thu, 28 Apr 2011 14:21:26 +0000
(16:21 +0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
0bac419
..
7e217c4
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-330,8
+330,11
@@
if [ "x$GRUB2" = "xyes" ]; then
# Grub2 part
db_get grub-pc/install_devices
for i in `echo $RET | sed -e 's/,/ /g'`; do
- read_device="$(readlink -f "$i")"
- grub-install --force --no-floppy $read_device
+ real_device="$(readlink -f "$i")"
+ if [ -e "$real_device" ]; then
+ grub-install --force --no-floppy $real_device \
+ >/dev/null 2>&1 || true
+ fi
done
fi
echo -n " grub8"