add go, age, sort pkgs

This commit is contained in:
Jeffrey Paul 2021-06-10 16:30:21 -07:00
parent ccc82d8887
commit b5ac536cf5

53
prov.sh
View File

@ -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
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