diff options
Diffstat (limited to 'satellit_upgrader/pack-update.sh')
-rwxr-xr-x | satellit_upgrader/pack-update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |