Merge pull request #231 from linuxserver/universal-tshoot-apt

standardize apt-get, update formatting
This commit is contained in:
Roxedus
2021-06-29 18:08:32 +02:00
committed by GitHub
2 changed files with 17 additions and 13 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bash
if [ -f /usr/bin/apt ]; then
apt-get update
fi
-1
View File
@@ -2,7 +2,6 @@
## Ubuntu ## Ubuntu
if [ -f /usr/bin/apt ]; then if [ -f /usr/bin/apt ]; then
apt-get update
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
dnsutils \ dnsutils \
net-tools \ net-tools \