Comment old custom builds

This commit is contained in:
Alexandre Aubin 2022-01-19 23:21:15 +01:00
parent 84ceef7319
commit 1f5d5f0b64

View file

@ -42,7 +42,7 @@ function main()
function validate_arguments() function validate_arguments()
{ {
[[ $PACKAGE =~ ^metronome|miniupnpc|gevent-websocket|python-zeroconf|lexicon$ ]] || critical "Invalid package $PACKAGE" [[ $PACKAGE =~ ^metronome|python-zeroconf|lexicon$ ]] || critical "Invalid package $PACKAGE"
[[ $BRANCH =~ ^testing|stable|unstable$ ]] || critical "Invalid branch $BRANCH" [[ $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 :|" [[ "$(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 :|"
} }
@ -61,15 +61,15 @@ function tweak_lexicon()
readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N-1" readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N-1"
} }
function tweak_miniupnpc() #function tweak_miniupnpc()
{ #{
readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N" # readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N"
} #}
function tweak_gevent-websocket() #function tweak_gevent-websocket()
{ #{
readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N" # readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N"
} #}
function tweak_metronome() function tweak_metronome()
{ {