From: Valentin Vidic Date: Wed, 20 Oct 2010 11:45:02 +0000 (+0200) Subject: Onemoguci nadogradnju sa dpkg -i. X-Git-Tag: debian/2.6.26.6~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=619d40e75e0a69a88bb60bc10dcc35dcbb4e374c;p=kernel-cn.git Onemoguci nadogradnju sa dpkg -i. --- diff --git a/debian/preinst b/debian/preinst index f3f4740..d13bffc 100755 --- 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."