X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fdh-make-gosa;h=0e92818eb2a6c1af870038c33a44be4d1164b395;hb=bf5082df658ccc3f3ff9a22ae00e407e8bcb5a17;hp=9663cfd475dbc969e7a37da536fef648659e6a60;hpb=8c9010e3f39b727478ec9ca33be8538ac9a2587a;p=gosa.git diff --git a/gosa-core/dh-make-gosa b/gosa-core/dh-make-gosa index 9663cfd47..0e92818eb 100755 --- a/gosa-core/dh-make-gosa +++ b/gosa-core/dh-make-gosa @@ -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 @@ -209,6 +210,9 @@ echo "usr/share/gosa" > debian/dirs if [ -d contrib ]; then echo "contrib /usr/share/doc/gosa-plugin-$PL_NAME" >> debian/install fi +if [ -d etc ]; then + echo "etc/* /etc/gosa" >> debian/install +fi if [ -d html ]; then for i in html/*; do echo "$i /usr/share/gosa/html/plugins/$PL_NAME" >> debian/install @@ -238,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