15 lines
346 B
Bash
Executable file
15 lines
346 B
Bash
Executable file
#! /usr/bin/bash
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
package=kingfisher
|
|
repo=mongodb/kingfisher
|
|
resource=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}" "${resource}" install_kingfisher
|