From 895d7a8542a457b5efb33169b7c2f9257b064da7 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 29 Jun 2007 12:23:28 +0000 Subject: [PATCH] Included TEMPLATE moving for sarge packages, too. In order to not get bugreports when installed on etch ;-) git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6746 594d385d-05f5-0310-b6e9-bd551577e9d8 --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index e09ffe05f..410bc177e 100755 --- a/debian/rules +++ b/debian/rules @@ -92,10 +92,10 @@ install-stamp: -rm -rf debian/gosa/usr/share/gosa/gen_function_list.php -rm -rf debian/gosa/usr/share/gosa/update.sh -rm -rf debian/gosa/usr/share/doc/gosa/guide* + sed 's%"CONFIG_TEMPLATE_DIR", "../contrib/"%"CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/"%g' debian/gosa/usr/share/gosa/include/functions.inc > debian/gosa/usr/share/gosa/include/functions.inc.new; \ + mv debian/gosa/usr/share/gosa/include/functions.inc.new debian/gosa/usr/share/gosa/include/functions.inc; \ -if [ -z "${SARGE_PACKAGE}" ]; then \ rm -rf debian/gosa/usr/share/gosa/include/smarty; \ - sed 's%"CONFIG_TEMPLATE_DIR", "../contrib/"%"CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/"%g' debian/gosa/usr/share/gosa/include/functions.inc > debian/gosa/usr/share/gosa/include/functions.inc.new; \ - mv debian/gosa/usr/share/gosa/include/functions.inc.new debian/gosa/usr/share/gosa/include/functions.inc; \ sed 's%require("smarty/Smarty.class.php");%require("/usr/share/php/smarty/libs/Smarty.class.php");%g' debian/gosa/usr/share/gosa/include/php_setup.inc > debian/gosa/usr/share/gosa/include/php_setup.inc.new; \ mv debian/gosa/usr/share/gosa/include/php_setup.inc.new debian/gosa/usr/share/gosa/include/php_setup.inc; \ fi -- 2.30.2