Skip to content

Commit 797c232

Browse files
committed
btop: fix package name for v1.4.6+
1 parent 821c92c commit 797c232

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/btop@x86_64

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ app_info() {
88

99
app_install() {
1010
local version="${1:-$(app_version)}"
11-
local package="$APP_NAME-$APP_ARCH-linux-musl"
11+
local package
12+
13+
if utils:compare_versions "$version" ge "v1.4.6"; then
14+
package="$APP_NAME-$APP_ARCH-unknown-linux-musl"
15+
else
16+
package="$APP_NAME-$APP_ARCH-linux-musl"
17+
fi
1218

1319
utils:get_file \
1420
"https://github.com/aristocratos/btop/releases/download/$version/$package.tbz" \

0 commit comments

Comments
 (0)