From 517c2fd0bdbbb13340f29ebcf151fb948973c9b9 Mon Sep 17 00:00:00 2001 From: tschettervictor Date: Sun, 30 Nov 2025 16:52:32 -0700 Subject: [PATCH] fix some vars --- usr/local/share/bastille/upgrade.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr/local/share/bastille/upgrade.sh b/usr/local/share/bastille/upgrade.sh index a9f9f780..551b1800 100644 --- a/usr/local/share/bastille/upgrade.sh +++ b/usr/local/share/bastille/upgrade.sh @@ -113,8 +113,6 @@ thick_jail_check() { fi # Set VERSION - OLD_MINOR_VERSION=$(echo ${OLD_RELEASE} | sed -E 's/^[0-9]+\.([0-9]+)-.*$/\1/') - OLD_MAJOR_VERSION=$(echo ${OLD_RELEASE} | grep -Eo '^[0-9]+') NEW_MINOR_VERSION=$(echo ${NEW_RELEASE} | sed -E 's/^[0-9]+\.([0-9]+)-.*$/\1/') NEW_MAJOR_VERSION=$(echo ${NEW_RELEASE} | grep -Eo '^[0-9]+')