From a60d455dbb8a5cb999ea3a49580c1f735211320a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 5 Jan 2024 02:18:15 +0300 Subject: [PATCH] typo fix... Signed-off-by: Alex A. Naanou --- .pct-helpers | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pct-helpers b/.pct-helpers index 7480b7c..64b34c4 100644 --- a/.pct-helpers +++ b/.pct-helpers @@ -147,8 +147,7 @@ normpath(){ getLatestTemplate(){ IFS=$'\n' local pattern=$1 - local tamplates=($(pveam available | grep ''${1}'.*$')) - # XXX this still includes "system .." + local templates=($(pveam available | grep -o ''${1}'.*$')) local latest=${templates[-1]} pveam download local ${latest}