Code

Included TEMPLATE moving for sarge packages, too. In order to not
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Jun 2007 12:23:28 +0000 (12:23 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Jun 2007 12:23:28 +0000 (12:23 +0000)
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

index e09ffe05f09f01c77c48e92f2a294172d3f94481..410bc177ec2eab3645cace9686e51b04aadddc0f 100755 (executable)
@@ -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