diff --git a/scripts/ynh-custom-builds b/scripts/ynh-custom-builds index e44c999..c4f22ad 100755 --- a/scripts/ynh-custom-builds +++ b/scripts/ynh-custom-builds @@ -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 ...