mirror of
https://github.com/casjaysdevdocker/gitea
synced 2025-01-18 12:34:37 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
parent
b032450724
commit
7a2fd8adbc
@ -229,6 +229,7 @@ __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/"
|
||||||
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…
x
Reference in New Issue
Block a user