Add python-toml in managed packages

This commit is contained in:
Alexandre Aubin 2019-08-12 11:50:07 +00:00
parent 8d7db5e5f7
commit ecb925525e

View file

@ -40,7 +40,7 @@ function main()
function validate_arguments()
{
[[ $PACKAGE =~ ^metronome|rspamd|unscd$ ]] || critical "Invalid package $PACKAGE"
[[ $PACKAGE =~ ^metronome|rspamd|unscd|python-toml$ ]] || critical "Invalid package $PACKAGE"
[[ $BRANCH =~ ^testing|stable|unstable$ ]] || critical "Invalid branch $BRANCH"
[[ "$(tty)" != "not a tty" ]] || critical "You aint in a tty (are you in a 'lxc exec' ?) The script can't run because pbuilder won't be happy :|"
}
@ -65,6 +65,11 @@ function tweak_rspamd()
readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+yunohost"
}
function tweak_python-toml()
{
readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+yunohost"
}
function build()
{
# SVERSION is VERSION without the -1 at the end ...