diff --git a/bin/v-list-sys-vesta-updates b/bin/v-list-sys-vesta-updates index 62e2013b..69fcf9f8 100755 --- a/bin/v-list-sys-vesta-updates +++ b/bin/v-list-sys-vesta-updates @@ -78,6 +78,10 @@ else ARCH=$(echo "$dpkg_data"|grep Architecture |cut -f 2 -d ' ') VERSION=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 1 -d \-) RELEASE=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 2 -d \-) + SUBRELEASE=$(echo "$dpkg_data"|grep ^Version |cut -f 2 -d ' '|cut -f 3 -d \-) + if [ ! -z "$SUBRELEASE" ]; then + RELEASE="$RELEASE-$SUBRELEASE" + fi DATE=$(date -d @$pkg_date +"%F") TIME=$(date -d @$pkg_date +"%T") fi