ingress #1
12
cookcli/rootfs/etc/cont-init.d/70-git-sync.sh
Normal file
12
cookcli/rootfs/etc/cont-init.d/70-git-sync.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
set -e
|
||||
|
||||
bashio::log.info "=== Initialisation de Git Sync ==="
|
||||
|
||||
# Vérifier que Git est installé
|
||||
if ! command -v git >/dev/null 2>&1; then
|
||||
bashio::log.warning "⚠️ Git n'est pas installé."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
bashio::log.info "✅ Git est prêt : $(git --version)"
|
||||
Loading…
Reference in a new issue