mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-01 04:21:56 -04:00
universal-git update/add workflows
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
apt-get update
|
||||
fi
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# Determine if setup is needed
|
||||
if ! command -v git; then
|
||||
## Ubuntu
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
apt-get install --no-install-recommends -y \
|
||||
git
|
||||
fi
|
||||
# Alpine
|
||||
if [ -f /sbin/apk ]; then
|
||||
apk add --no-cache \
|
||||
git
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user