mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
standardize apt-get, update formatting
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if [ -f /usr/bin/apt ]; then
|
||||||
|
apt-get update
|
||||||
|
fi
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user