From: Michael Prokop Date: Thu, 7 Jan 2010 17:13:42 +0000 (+0100) Subject: Use $TEMPLATE_DIRECTORY for checking for precense of bsd4grml. X-Git-Tag: v0.9.34~18 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=e990fb62a869846139a7d01261283552c57c14b8 Use $TEMPLATE_DIRECTORY for checking for precense of bsd4grml. --- 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