Add support for bookworm ?

This commit is contained in:
Alexandre Aubin 2023-05-04 20:29:29 +02:00
parent c245f996d0
commit b0a7f727d4
4 changed files with 19 additions and 2 deletions

View file

@ -23,3 +23,16 @@ Description: YunoHost repository for Debian Bullseye
SignWith: 83BD9E70
Tracking: all includechanges keepsources
Log: logfile
Origin: YunoHost
Label: YunoHost for Bookworm
Suite: stable
Codename: bookworm
Version: 12.0
Architectures: i386 amd64 armhf arm64 source
Components: stable testing unstable extra
AlsoAcceptFor: bookworm-stable bookworm-testing bookworm-unstable stable testing unstable
Description: YunoHost repository for Debian Bookworm
SignWith: 3DAC3BD5
Tracking: all includechanges keepsources
Log: logfile

View file

@ -1,7 +1,7 @@
#!/bin/bash
readonly THISSCRIPT=$0
readonly DISTRIBS="buster bullseye"
readonly DISTRIBS="buster bullseye bookworm"
readonly TIMETAG="$(date +%Y%m%d%H%M)"
readonly PACKAGES="moulinette SSOwat yunohost yunohost-admin"
readonly FORCE="false"
@ -45,6 +45,7 @@ function build_if_needed()
[[ $DISTRIB == "buster" ]] && BRANCH_NIGHTLY="buster"
[[ $DISTRIB == "bullseye" ]] && BRANCH_NIGHTLY="dev"
[[ $DISTRIB == "bookworm" ]] && BRANCH_NIGHTLY="bookworm"
cd $GIT_REPOS/$PACKAGE

View file

@ -21,7 +21,7 @@ Usage:
$THISSCRIPT <distrib> <branch> <folder>
Arguments:
<distrib> buster or bullseye
<distrib> buster or bullseye or bookworm
<branch> stable, testing, or unstable
<folder> the folder in which to build...
<archs> list of archs to build (or empty for autodetect). For example: amd63,armhf

View file

@ -12,6 +12,9 @@ then
elif [[ "$(echo $VERSION | awk -F'.' '{print $1}')" == "11" ]]
then
readonly DISTRIB="bullseye"
elif [[ "$(echo $VERSION | awk -F'.' '{print $1}')" == "12" ]]
then
readonly DISTRIB="bookworm"
else
readonly DISTRIB="fixyoversionnumberbruh"
fi