🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-11 16:07:49 -04:00
parent 6e1badbed9
commit 0a65cffe6b
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 8 additions and 6 deletions

View File

@ -1,5 +1,8 @@
#!/usr/bin/env sh #!/usr/bin/env sh
set -x # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set bash options
[ -n "$DEBUG" ] && set -x
set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
export PATH="/usr/local/share/cherokee/bin:$PATH" export PATH="/usr/local/share/cherokee/bin:$PATH"
[ -f "/config/ssl.env" ] && . "/config/ssl.env" [ -f "/config/ssl.env" ] && . "/config/ssl.env"

View File

@ -18,6 +18,10 @@
# @@sudo/root : no # @@sudo/root : no
# @@Template : other/docker-entrypoint # @@Template : other/docker-entrypoint
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set bash options
[ -n "$DEBUG" ] && set -x
set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
APPNAME="$(basename "$0" 2>/dev/null)" APPNAME="$(basename "$0" 2>/dev/null)"
VERSION="202210102226-git" VERSION="202210102226-git"
HOME="${USER_HOME:-$HOME}" HOME="${USER_HOME:-$HOME}"
@ -25,11 +29,6 @@ USER="${SUDO_USER:-$USER}"
RUN_USER="${SUDO_USER:-$USER}" RUN_USER="${SUDO_USER:-$USER}"
SCRIPT_SRC_DIR="${BASH_SOURCE%/*}" SCRIPT_SRC_DIR="${BASH_SOURCE%/*}"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set bash options
[ "$1" == "--debug" ] && set -xo pipefail && export SCRIPT_OPTS="--debug" && export _DEBUG="on"
[ "$1" == "--raw" ] && export SHOW_RAW="true"
set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set functions # Set functions
__version() { echo -e ${GREEN:-}"$VERSION"${NC:-}; } __version() { echo -e ${GREEN:-}"$VERSION"${NC:-}; }
__find() { ls -A "$*" 2>/dev/null; } __find() { ls -A "$*" 2>/dev/null; }