From e990fb62a869846139a7d01261283552c57c14b8 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 7 Jan 2010 18:13:42 +0100 Subject: [PATCH] Use $TEMPLATE_DIRECTORY for checking for precense of bsd4grml. --- grml-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grml-live b/grml-live index 39952b7..2fa022a 100755 --- a/grml-live +++ b/grml-live @@ -657,7 +657,7 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then einfo "Skipping installation boot addons requested via \$NO_ADDONS." eend 0 else - if ! [ -d /usr/share/grml-live/templates/boot/addons/bsd4grml ] ; then + if ! [ -d "$TEMPLATE_DIRECTORY"/boot/addons/bsd4grml ] ; then ewarn "Boot addons not found, skipping therefore. (Consider installing package grml-live-addons)" ; eend 0 else # copy only files so we can handle bsd4grml on its own -- 2.1.4