mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-22 22:22:22 +00:00
19 lines
516 B
Bash
19 lines
516 B
Bash
|
#!/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"
|