From 1f5d5f0b64042bbc0eb9c1f10cb99cf68035277f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 19 Jan 2022 23:21:15 +0100 Subject: [PATCH] Comment old custom builds --- scripts/ynh-custom-builds | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/ynh-custom-builds b/scripts/ynh-custom-builds index ed44e42..39dc8e3 100755 --- a/scripts/ynh-custom-builds +++ b/scripts/ynh-custom-builds @@ -42,7 +42,7 @@ function main() 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" [[ "$(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" } -function tweak_miniupnpc() -{ - readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N" -} +#function tweak_miniupnpc() +#{ +# readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N" +#} -function tweak_gevent-websocket() -{ - readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N" -} +#function tweak_gevent-websocket() +#{ +# readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+ynh$DISTRIB_N" +#} function tweak_metronome() {