mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-21 17:23:06 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
parent
04d3ef959b
commit
9cec457137
@ -229,7 +229,9 @@ __run_pre_execute_checks() {
|
|||||||
{
|
{
|
||||||
[ -d "$CONF_DIR/reg" ] || mkdir -p "$CONF_DIR/reg"
|
[ -d "$CONF_DIR/reg" ] || mkdir -p "$CONF_DIR/reg"
|
||||||
[ -d "$DATA_DIR/cache" ] || mkdir -p "$DATA_DIR/cache"
|
[ -d "$DATA_DIR/cache" ] || mkdir -p "$DATA_DIR/cache"
|
||||||
[ -d "$ETC_DIR" ] && copy "$ETC_DIR/." "$CONF_DIR/"
|
[ -f "$ETC_DIR/multi.yaml" ] && [ ! -f "$CONF_DIR/multi.yaml" ] && copy "$ETC_DIR/multi.yaml" "$CONF_DIR/multi.yaml"
|
||||||
|
[ -f "$ETC_DIR/daemon.yaml" ] && [ ! -f "$CONF_DIR/daemon.yaml" ] && copy "$ETC_DIR/daemon.yaml" "$CONF_DIR/daemon.yaml"
|
||||||
|
[ -f "$ETC_DIR" ] && [ ! -f "" ] && cp -Rf "$ETC_DIR/." "$CONF_DIR/"
|
||||||
if [ ! -f "$CONF_DIR/reg/default.sample" ]; then
|
if [ ! -f "$CONF_DIR/reg/default.sample" ]; then
|
||||||
cat <<EOF >"$CONF_DIR/reg/default.sample"
|
cat <<EOF >"$CONF_DIR/reg/default.sample"
|
||||||
# Edit this file and execute it
|
# Edit this file and execute it
|
||||||
|
Loading…
Reference in New Issue
Block a user