fix init docker
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 50s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 50s
This commit is contained in:
parent
e3a98140ef
commit
f7edc9d09e
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
lsb_dist=$(cat /etc/*release | grep ^ID= | cut -d= -f2) # ubuntu or debian?
|
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_exists() {
|
||||||
command -v "$@" > /dev/null 2>&1
|
command -v "$@" > /dev/null 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user