fix 1C ver (distr with all clients)

This commit is contained in:
Dmitry Belyaev 2023-05-08 19:43:38 +03:00
parent 78000462d9
commit ca654b51cf

View File

@ -16,7 +16,7 @@ find_1c_distr() {
}
get_1c_ver() {
basename $1 | cut -d'_' -f 2- --output-delimiter='.'| cut -d'.' -f -4
basename $1 | rg -o -e "8_3_\d{2}_\d{4}" | cut -d'_' -f -4 --output-delimiter='.'
}
get_ubuntu_ver() {