Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52439 Patch by Sveinar Søpler cybermax@dexter.no
Signed-off-by: Floris Renaud jkfloris@dds.nl
To keep the same style as the rest of the file, I also included a description of the function. --- packaging/obs/obs-sync | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/packaging/obs/obs-sync b/packaging/obs/obs-sync index b0ec672..a6ff59d 100755 --- a/packaging/obs/obs-sync +++ b/packaging/obs/obs-sync @@ -135,11 +135,25 @@ Architecture: $2 EOF }
+# create an apt .sources file +# usage: make_apt_sources <platform> <codename> +make_apt_sources () +{ + cat <<EOF +Types: deb +URIs: https://dl.winehq.org/wine-builds/$1 +Suites: $2 +Components: main +Signed-By: /usr/share/keyrings/winehq-archive.key +EOF +} + # index debian packages for a single suite # usage: index_deb <platform> <codename> [<suite>] index_deb () { dest=dest/$1/dists/$2 + make_apt_sources $1 $2 >dest/winehq-$2.sources apt_ftparchive="apt-ftparchive -c $basedir/apt.cfg -d $basedir/.cache/apt-cache-$2.db -s $basedir/apt-override"
for arch in $deb_archs