fix init docker
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 50s

This commit is contained in:
Martin 2025-02-06 09:24:36 +08:00
parent e3a98140ef
commit f7edc9d09e

View File

@ -1,6 +1,7 @@
#!/bin/bash
lsb_dist=$(cat /etc/*release | grep ^ID= | cut -d= -f2) # ubuntu or debian?
release=$(cat /etc/*release | grep VERSION_CODENAME | cut -d= -f2) # ubuntu(jammy oracular) debian(bookworm)....
command_exists() {
command -v "$@" > /dev/null 2>&1