From f4650bd0dc176a68bb3d90e3324afc0b62b7e46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Thu, 27 Apr 2023 07:54:46 +0000 Subject: [PATCH] chore: shell/functions: remove now unused global var --- lib/shell/functions.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/shell/functions.inc b/lib/shell/functions.inc index 4181d8d..4208bc1 100644 --- a/lib/shell/functions.inc +++ b/lib/shell/functions.inc @@ -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