mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-27 18:21:41 +08:00
chore: shell/functions: remove now unused global var
This commit is contained in:
parent
0515753f91
commit
f4650bd0dc
1 changed files with 0 additions and 4 deletions
|
@ -40,10 +40,6 @@ LINUX_DISTRO=$(echo "$LINUX_DISTRO" | tr '[:upper:]' '[:lower:]' | tr -d ' ')
|
|||
DISTRO_VERSION_MAJOR=$(echo "$DISTRO_VERSION" | grep -Eo '^[0-9]+' || true)
|
||||
: "${DISTRO_LIKE:=$LINUX_DISTRO}"
|
||||
|
||||
# no longer needed, but keep if for a few versions so that non-restarted daemons are still happy
|
||||
# shellcheck disable=SC2034
|
||||
LOCKFILE=/var/run/bastion-upgrade.lock
|
||||
|
||||
# set ETC_DIR
|
||||
ETC_DIR=/etc
|
||||
[ "$OS_FAMILY" = FreeBSD ] && ETC_DIR=/usr/local/etc
|
||||
|
|
Loading…
Reference in a new issue