From 619d40e75e0a69a88bb60bc10dcc35dcbb4e374c Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Wed, 20 Oct 2010 13:45:02 +0200 Subject: [PATCH] Onemoguci nadogradnju sa dpkg -i. --- debian/preinst | 6 ++++++ 1 file changed, 6 insertions(+) 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." -- 1.7.10.4