18 lines
381 B
Bash
Executable file
18 lines
381 B
Bash
Executable file
#! /usr/bin/bash
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
package=kingfisher
|
|
repo=mongodb/kingfisher
|
|
|
|
kingfisher_resource() {
|
|
echo "kingfisher-linux-x64.tgz"
|
|
}
|
|
|
|
install_kingfisher() {
|
|
tar xz --directory="$(systemd-path user-binaries)" kingfisher
|
|
chmod 550 "$(systemd-path user-binaries)"/kingfisher
|
|
}
|
|
|
|
github_update "${package}" "${repo}" kingfisher_resource install_kingfisher
|