Skip to content

Commit

Permalink
[akm] fix: show correct Stable versions
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed May 24, 2024
1 parent d1d02e5 commit e8ab77a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions akm/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pkgname=akm
pkgdesc="Arch kernel manager."
url=https://github.com/endeavouros-team/PKGBUILDS/tree/master/$pkgname
_url="https://raw.githubusercontent.com/endeavouros-team/PKGBUILDS/master/$pkgname"
pkgver=24
pkgver=24.1
pkgrel=1
arch=('any')
license=('GPL')
Expand All @@ -17,7 +17,7 @@ source=(
"$_url/$pkgname.conf"
"$_url/$pkgname.desktop"
)
sha512sums=('3e6a446f5a773b938b9d675bb14ff7b900fd2bd0df50954d77aeaf4fac1c989d7af5549f697c67c1082d06dabc27dc29eef0e3009b144489ef6b749ed10030dc'
sha512sums=('2eff2dff21d39980720c5b4380c57784dd6309f990f425065b4dbb5dd71ad0ecb293a9c20bee535b92e1441ce4360bc89aa08598c92143c313980e7fd35bb91d'
'9ab486eaa58857dfaf1d3b3838768b9c629f65709177544ad4602daf2752be9709a529abba359fe984a9f231688ae30bb7aa3df97a2c8d88fbb37742f5fd26f7'
'3d8e3bddd23cb6871f86070d864decf1dd9fc117ac18d8983217b009d2c5eb04ff0a51745e5e59ba82b4c6cb65f70ac0d0bad031d28777db446d1c27d73d3ac3')

Expand Down
6 changes: 4 additions & 2 deletions akm/akm
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ StableVersions() {
# prevent usage of the '*-testing' repos:
case "$pkg" in
linux | linux-headers | linux-lts | linux-lts-headers)
pkgs=("core/$pkg") ;;
pkgs+=("core/$pkg") ;;
linux-zen | linux-zen-headers | linux-hardened | linux-hardened-headers | linux-rt | linux-rt-headers | linux-rt-lts | linux-rt-lts-headers)
pkgs=("extra/$pkg") ;;
pkgs+=("extra/$pkg") ;;
core/linux* | extra/linux*)
pkgs+=("$pkg") ;;
esac
done
readarray -t versions <<< $(expac -S %v "${pkgs[@]}")
Expand Down

0 comments on commit e8ab77a

Please sign in to comment.