Code

Multiple Values for depends are now parsed as with update-gosa (separate depends...
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Sep 2009 11:46:04 +0000 (11:46 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Sep 2009 11:46:04 +0000 (11:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14206 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/dh-make-gosa

index 9663cfd475dbc969e7a37da536fef648659e6a60..33b8e9e531abfcc66353c12c3326485105850cf9 100755 (executable)
@@ -48,6 +48,7 @@ load_dsc() {
     PL_NAME=$(sed -n 's/"//g;s/^name\s*=\s*\(.*\)$/\1/p' "$1")
     PL_VERSION=$(sed -n 's/"//g;s/^version\s*=\s*\(.*\)$/\1/p' "$1")
     TDEPENDS=$(sed -n 's/"//g;s/^depends\s*=\s*\(.*\)$/\1/p' "$1")
+               TDEPENDS=$(echo $TDEPENDS | tr , " ")
     for dep in $TDEPENDS; do
       PL_DEPENDS="gosa-plugin-$dep, $PL_DEPENDS"
     done