config: add option to set security component on helper.
This commit is contained in:
parent
869086c720
commit
9999b7f971
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ find ${@:3} -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -e
|
||||||
}
|
}
|
||||||
changelog(){
|
changelog(){
|
||||||
head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-security || REPO=$CODENAME
|
head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-security || REPO=$CODENAME
|
||||||
|
[ "$SECURITY" = true ] && REPO=${CODENAME}-security
|
||||||
[ "$BACKPORT" = true ] || [ "$BACKPORTS" = true ] && REPO=${CODENAME}-backports
|
[ "$BACKPORT" = true ] || [ "$BACKPORTS" = true ] && REPO=${CODENAME}-backports
|
||||||
#Name convention issue "+" breaking packages build like console-setup, using "-" instead.
|
#Name convention issue "+" breaking packages build like console-setup, using "-" instead.
|
||||||
echo | dch -D $REPO -v $FULLVERSION "$1"
|
echo | dch -D $REPO -v $FULLVERSION "$1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue