X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fdh-make-gosa;h=5b0733d5a99dd207aa3268881b87c2aca9225367;hb=fe7f9da11c2aa104921ad7bb99abf721b690392d;hp=fb942470fb27b1ec75b9f03008758f3ada664cff;hpb=911cae6817223dffb081e6625fd9f8d191d572ac;p=gosa.git diff --git a/gosa-core/dh-make-gosa b/gosa-core/dh-make-gosa index fb942470f..5b0733d5a 100755 --- a/gosa-core/dh-make-gosa +++ b/gosa-core/dh-make-gosa @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # This code is part of GOsa (http://www.gosa-project.org) # Copyright (C) 2008 GONICUS GmbH # @@ -19,7 +19,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA usage() { - echo "Usage: ${0##*/} [--section section name] [-b|--branch branch] [-e|--email mail] [--depends] plugin-dir|plugin.tar.gz" >&2 + echo "Usage: ${0##*/} [--no-break] [--section section name] [-b|--branch branch] [-e|--email mail] [--depends] plugin-dir|plugin.tar.gz" >&2 exit 1 } @@ -80,6 +80,7 @@ eval set -- "$TEMP" RELEASE=trunk DOWNLOAD= DEPENDS= +NOBREAK= SECTION=web DEST= while true; do @@ -99,6 +100,9 @@ while true; do --section) SECTION="$2" shift 2 ;; + --no-break) NOBREAK=1 + shift 1 + ;; --dest) DEST=$2/ shift 2 ;; @@ -248,7 +252,9 @@ fi if [ "$PL_CONFLICTS" ]; then sed -i "11iConflicts: $PL_CONFLICTS" debian/control fi -sed -i "12iBreaks: gosa (<2.6)" debian/control +if [ -z "$NOBREAK" ]; then + sed -i "12iBreaks: gosa (<2.6)" debian/control +fi sed -i 's/^\(Build-Depends: .*\)$/\1, dpatch/g' debian/control sed -i 's/^Standards-Version: 3.7.3/Standards-Version: 3.8.3/g' debian/control