From b5ac536cf550f6a3a5ce009b31e8bf0bcae6e1eb Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 10 Jun 2021 16:30:21 -0700 Subject: [PATCH] add go, age, sort pkgs --- prov.sh | 53 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/prov.sh b/prov.sh index 6f0c650..0c95772 100644 --- a/prov.sh +++ b/prov.sh @@ -4,38 +4,45 @@ export DEBIAN_FRONTEND=noninteractive function main() { RELEASE="$(lsb_release -cs)" - prov-$RELEASE } function prov-focal() { - PKGS=" - bridge-utils - byobu - git - make - net-tools - nmap - magic-wormhole - ntp - traceroute - vim - vlan - wireguard-tools - zip - unzip - zstd - pbzip2 - pv - zsh +bridge-utils +byobu +git +golang-go +magic-wormhole +make +net-tools +nmap +ntp +pbzip2 +pv +traceroute +unzip +vim +vlan +wireguard-tools +zip +zsh +zstd " - - apt update && \ apt upgrade -y && \ apt install -y $PKGS && \ apt autoremove -y + install-age } -main \ No newline at end of file +function install-age () { + cd /tmp + git clone https://filippo.io/age && cd age + go build -o . filippo.io/age/cmd/... + mv ./age /usr/local/bin + cd - + rm -rf /tmp/age +} + +main