mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-21 21:57:47 +00:00
19 lines
516 B
Bash
Executable File
19 lines
516 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -u
|
|
set -o pipefail
|
|
|
|
SCRIPT_PATH="$( cd "$(dirname "$0")" && pwd -P )"
|
|
DVLBOX_PATH="$( cd "${SCRIPT_PATH}/../.." && pwd -P )"
|
|
# shellcheck disable=SC1090
|
|
. "${SCRIPT_PATH}/.lib.sh"
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# ENTRYPOINT
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
run "rm -f ${DVLBOX_PATH}/.env"
|
|
run "cp ${DVLBOX_PATH}/env-example ${DVLBOX_PATH}/.env"
|