From 8416e62a0e914458cf41d2c6446217720f2a95d1 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sun, 1 Jan 2023 01:14:02 +0800 Subject: [PATCH] update: support not specifying build-tools version unversioned aur package seems not to provide versioned virtual now. --- update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update b/update index 60c7cc3..ef292bc 100755 --- a/update +++ b/update @@ -14,7 +14,7 @@ dispatch() { repo=$(basename "$1") yq ".sources += [\"https://github.com/$1#$2\"] | .environment.source = \"$repo\" | - .packages += [\"android-platform-$platform\",\"android-sdk-build-tools-$build_tools\"] + .packages += [\"android-platform-$platform\",\"android-sdk-build-tools${build_tools:+-$build_tools}\"] " < build.yml | ssh builds@builds.xdavidwu.link "submit -n$1\ $2 -t android-autobuilds -t $1" } -- 2.45.2