mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-26 02:03:14 -04:00
58ed5113ab
and remove cleanup
17 lines
307 B
Plaintext
17 lines
307 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
# Determine if setup is needed
|
|
if [[ -n "$(command -v git)" ]]; then
|
|
## Ubuntu
|
|
if [ -f /usr/bin/apt ]; then
|
|
apt-get update
|
|
apt-get install --no-install-recommends -y \
|
|
git
|
|
fi
|
|
# Alpine
|
|
if [ -f /sbin/apk ]; then
|
|
apk add --no-cache \
|
|
git
|
|
fi
|
|
fi
|