mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
860b518c74
Signed-off-by: Eric Nemchik <eric@nemchik.com>
12 lines
395 B
Plaintext
Executable File
12 lines
395 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
if ! builtin command -v busybox >/dev/null; then
|
|
echo "**** Adding busybox to package install list ****"
|
|
echo "busybox" >>/mod-repo-packages-to-install.list
|
|
fi
|
|
if [[ -f /usr/bin/apt ]] && [[ ! -f /usr/sbin/cron ]]; then
|
|
echo "**** Adding cron to package install list ****"
|
|
echo "cron" >>/mod-repo-packages-to-install.list
|
|
fi
|