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:
f667659
)
Onemoguci nadogradnju sa dpkg -i.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Wed, 20 Oct 2010 11:45:02 +0000
(13:45 +0200)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Wed, 20 Oct 2010 11:45:02 +0000
(13:45 +0200)
debian/preinst
patch
|
blob
|
history
diff --git
a/debian/preinst
b/debian/preinst
index
f3f4740
..
d13bffc
100755
(executable)
--- a/
debian/preinst
+++ b/
debian/preinst
@@
-32,6
+32,12
@@
case "$1" in
;;
esac
+# check if the config script fixed the grub diverts
+if [ -e /usr/sbin/grub.real -o -e /usr/sbin/grub-probe.real ]; then
+ echo "CN: Please install this package using apt-get."
+ exit 1
+fi
+
# make GRUB template directory
if [ ! -d /boot/grub ]; then
echo "CN: Made /boot/grub directory."