mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Add python-toml in managed packages
This commit is contained in:
parent
8d7db5e5f7
commit
ecb925525e
1 changed files with 6 additions and 1 deletions
|
@ -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 ...
|
||||
|
|
Loading…
Reference in a new issue