install `swaks` from GitHub

This commit is contained in:
georglauterbach 2024-01-06 22:14:40 +01:00
parent e469fbb19d
commit d7dd8405d3
No known key found for this signature in database
GPG Key ID: F367F7C43C118578
1 changed files with 7 additions and 0 deletions

View File

@ -192,7 +192,14 @@ function _install_getmail() {
function _install_utils() {
_log 'debug' 'Installing utils sourced from Github'
_log 'trace' 'Installing jaq'
curl -sL https://github.com/01mf02/jaq/releases/latest/download/jaq-v1.2.0-x86_64-unknown-linux-musl -o /usr/bin/jaq && chmod +x /usr/bin/jaq
_log 'trace' 'Installing swaks'
local SWAKS_RELEASE='swaks-20240103.0'
curl -sSfL "https://github.com/jetmore/swaks/releases/download/v20240103.0/${SWAKS_RELEASE}.tar.gz" | tar -xz
mv "${SWAKS_RELEASE}/swaks" /usr/local/bin
rm -r "${SWAKS_RELEASE}"
}
function _remove_data_after_package_installations() {