universal-tshoot update/add workflows

This commit is contained in:
aptalca
2023-05-18 16:26:27 -04:00
parent dfe7768a36
commit fc066d0124
6 changed files with 60 additions and 70 deletions
-5
View File
@@ -1,5 +0,0 @@
#!/usr/bin/with-contenv bash
if [ -f /usr/bin/apt ]; then
apt-get update
fi
-16
View File
@@ -1,16 +0,0 @@
#!/usr/bin/with-contenv bash
## Ubuntu
if [ -f /usr/bin/apt ]; then
apt-get install --no-install-recommends -y \
dnsutils \
net-tools \
iputils-ping \
traceroute
fi
# Alpine
if [ -f /sbin/apk ]; then
apk add --no-cache \
bind-tools \
net-tools
fi