standardize apt-get, update formatting

This commit is contained in:
aptalca
2021-06-29 11:31:57 -04:00
parent 6d0cc3d88b
commit b5b4a510f2
2 changed files with 10 additions and 6 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
@@ -4,7 +4,6 @@
if [ ! -f /usr/sbin/cron ] && \ if [ ! -f /usr/sbin/cron ] && \
[ -f /usr/bin/apt ]; then [ -f /usr/bin/apt ]; then
# install cron # install cron
apt-get update
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
cron cron
fi fi