mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 09:39:51 +00:00
fix(koji): update binary path
The release process of koji has been updated a while ago, resulting in the binary not being nested in the archive anymore. Fixes cococonscious/koji#137
This commit is contained in:
committed by
AJ ONeal
parent
480169beac
commit
ed8058deb8
@@ -19,13 +19,13 @@ __init_koji() {
|
||||
# ~/.local/opt/koji-v1.5.0/bin
|
||||
mkdir -p "$(dirname "$pkg_src_cmd")"
|
||||
|
||||
# mv ./koji-*/koji ~/.local/opt/koji-v1.5.0/bin/koji
|
||||
mv ./koji-*/koji "$pkg_src_cmd"
|
||||
# mv koji ~/.local/opt/koji-v1.5.0/bin/koji
|
||||
mv koji "$pkg_src_cmd"
|
||||
}
|
||||
|
||||
# pkg_get_current_version is recommended, but (soon) not required
|
||||
pkg_get_current_version() {
|
||||
# 'koji version' has output in this format:
|
||||
# 'koji --version' has output in this format:
|
||||
# koji 1.5.0
|
||||
# This trims it down to just the version number:
|
||||
# 1.5.0
|
||||
|
||||
Reference in New Issue
Block a user