From: cajus Date: Wed, 20 Feb 2008 08:22:59 +0000 (+0000) Subject: Fixed SMARTY_LOCATION handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0a9fd4e9007a27532bcc76944db432e2231cc6e1;p=gosa.git Fixed SMARTY_LOCATION handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8977 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/debian/rules b/gosa-core/debian/rules index 46166f3ae..d9683996d 100755 --- a/gosa-core/debian/rules +++ b/gosa-core/debian/rules @@ -109,7 +109,7 @@ install-stamp: sed -i 's%"CONFIG_TEMPLATE_DIR", "../contrib/"%"CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/"%g' debian/gosa/usr/share/gosa/include/functions.inc cp include/smarty/plugins/block.render.php debian/smarty-render/usr/share/php/smarty/libs/plugins rm -rf debian/gosa/usr/share/gosa/include/smarty; \ - sed -i "s%require(\"smarty/Smarty.class.php\");%require(\"$SMARTY_LOCATION/Smarty.class.php\");%g" debian/gosa/usr/share/gosa/include/php_setup.inc + sed -i "s%require(\"smarty/Smarty.class.php\");%require(\"${SMARTY_LOCATION}/Smarty.class.php\");%g" debian/gosa/usr/share/gosa/include/php_setup.inc # Configure update location sed -i 's%include/class_location.inc%/etc/gosa/classes%g' debian/gosa/usr/sbin/update-gosa