Skip to content

Commit

Permalink
Download Debian 12 and ARM Raspbian 12 packages from OBS
Browse files Browse the repository at this point in the history
Fixes #2599
  • Loading branch information
hluk committed Jan 26, 2024
1 parent c465dad commit c6804d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions utils/download_obs_packages.sh
Expand Up @@ -9,10 +9,14 @@ base_url="https://download.opensuse.org/repositories/home:/"
url=$base_url$user:/$project

xdeb="-1_amd64.deb"
xdeb_armhf="-1_armhf.deb"
xdeb_arm64="-1_arm64.deb"
xrpm=".x86_64.rpm"

pkg="${project}_${version}"
pkg_deb="amd64/${pkg}${xdeb}"
pkg_deb_armhf="armhf/${pkg}${xdeb_armhf}"
pkg_deb_arm64="arm64/${pkg}${xdeb_arm64}"
pkg_rpm="x86_64/${project}-${version}-${rpm_version}${xrpm}"

failed=""
Expand All @@ -36,6 +40,9 @@ fetch_package "${pkg}_openSUSE_Tumbleweed${xrpm}" "$url/openSUSE_Tumbleweed/${pk
fetch_package "${pkg}_openSUSE_Leap_15.4${xrpm}" "$url/15.4/x86_64/${project}-${version}-lp154.${rpm_version}${xrpm}"
fetch_package "${pkg}_Debian_10${xdeb}" "$url/Debian_10/${pkg_deb}"
fetch_package "${pkg}_Debian_11${xdeb}" "$url/Debian_11/${pkg_deb}"
fetch_package "${pkg}_Debian_12${xdeb}" "$url/Debian_12/${pkg_deb}"
fetch_package "${pkg}_Raspbian_12${xdeb_armhf}" "$url/Raspbian_12/${pkg_deb_armhf}"
fetch_package "${pkg}_Raspbian_12${xdeb_arm64}" "$url/Raspbian_12/${pkg_deb_arm64}"

if [ -n "$failed" ]; then
echo -e "Failed packages:$failed"
Expand Down

0 comments on commit c6804d2

Please sign in to comment.