Skip to content

Commit 52cba92

Browse files
committed
fix(fsearch): remove UPSTREAM_RELEASE where native codename exists
Drop trixie, sid, and newer Ubuntu releases from fsearch since the package is now in native Debian and Ubuntu repos for those codenames. With only bullseye, bookworm, jammy, and noble supported, the UPSTREAM_CODENAME case statement is no longer needed and DEBIANVER becomes UPSTREAM_RELEASE directly. Refs: #1808
1 parent 2a461f1 commit 52cba92

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

01-main/packages/fsearch

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
DEFVER=2
2+
CODENAMES_SUPPORTED="bullseye bookworm jammy noble"
23
# shellcheck disable=SC2168
34
local THE_KEY
45
# shellcheck disable=SC2168
@@ -9,14 +10,8 @@ case ${UPSTREAM_ID} in
910
THE_REPO="https://ppa.launchpadcontent.net/christian-boxdoerfer/fsearch-stable/ubuntu ${UPSTREAM_CODENAME} main"
1011
;;
1112
*)
12-
# shellcheck disable=SC2168
13-
local DEBIANVER
14-
case ${UPSTREAM_CODENAME} in
15-
sid|13|trixie) DEBIANVER=Unstable ;;
16-
*) DEBIANVER="${UPSTREAM_RELEASE}" ;;
17-
esac
18-
THE_KEY="https://download.opensuse.org/repositories/home:cboxdoerfer/Debian_${DEBIANVER}/Release.key"
19-
THE_REPO="http://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_${DEBIANVER}/ /"
13+
THE_KEY="https://download.opensuse.org/repositories/home:cboxdoerfer/Debian_${UPSTREAM_RELEASE}/Release.key"
14+
THE_REPO="http://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_${UPSTREAM_RELEASE}/ /"
2015
;;
2116
esac
2217
ASC_KEY_URL="${THE_KEY}"

0 commit comments

Comments
 (0)