From 1169c84ac66f4c75c51e2525c5e55ce77bbe792d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 18 Jun 2021 14:32:04 +0200 Subject: [SSPS] slx-cert: Fix handling missing/outdated packed certificate --- satellit_upgrader/pack-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'satellit_upgrader/pack-update.sh') diff --git a/satellit_upgrader/pack-update.sh b/satellit_upgrader/pack-update.sh index b23aaa7..ac60a89 100755 --- a/satellit_upgrader/pack-update.sh +++ b/satellit_upgrader/pack-update.sh @@ -122,7 +122,7 @@ while true; do done [ -z "$VERSION" ] && perror "No --version given" -[[ "$VERSION" =~ ^v[0-9]\.[0-9][a-z]?$ ]] || echo "${RED}Warn${RESET}: Version format is not vX.X(y)" +[[ "$VERSION" =~ ^v[0-9]\.[0-9]+[a-z]?$ ]] || echo "${RED}Warn${RESET}: Version format is not vX.X(y)" # Prepare source directory declare -rg SRCDIR=$1 -- cgit v1.2.3-55-g7522