From 5f98a86109987c590c1c1368bb3fdf163e36beea Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 5 Nov 2009 08:22:46 +0000 Subject: [PATCH] * Fixed sed lines for plugin creation * Added "Breaks" for plugins git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14751 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/dh-make-gosa | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/dh-make-gosa b/gosa-core/dh-make-gosa index cc614316a..0e92818eb 100755 --- a/gosa-core/dh-make-gosa +++ b/gosa-core/dh-make-gosa @@ -242,8 +242,9 @@ else sed -i 's/^Depends: .*$/Depends: gosa/g' debian/control fi if [ "$PL_CONFLICTS" ]; then - sed "11Conflicts: $PL_CONFLICTS" debian/control + sed -i "11iConflicts: $PL_CONFLICTS" debian/control fi +sed -i "12iBreaks: gosa (<2.6)" debian/control sed -i 's/^\(Build-Depends: .*\)$/\1, dpatch/g' debian/control sed -i "s/^Description: .*$/Description: $PL_NAME plugin for GOsa/g" debian/control sed -i "s/^ <.*$/ %DESCRIPTION%/g" debian/control -- 2.30.2