projects
/
kernel-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- jos failsafe mehanizama tijekom instalacije alternativnih sektora..
[kernel-cn.git]
/
debian
/
postinst
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
# 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"
done
fi
echo -n " grub8"