Fix packInstall.sh.porg for non versioned x26[45]

This commit is contained in:
Pierre Labastie 2022-02-21 12:24:36 +01:00
parent 03b24b2a45
commit 3faf067c44

View file

@ -69,8 +69,13 @@ case $1 in
btrfs*|node*|pnmixer*|docbook-v*)
VERSION=$(echo $1 | sed 's/^.*v//')
;;
x265*) # can contain vd.d or just d.d: thanks to packagers
VERSION=$(echo $1 | sed 's/^.*[v_]//')
x264*) # can contain vd.d or just d.d, and now our package is not versioned!
local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent
VERSION=$(sed -n 's/.*x264[^0-9]*\([^"]*\).*/\1/p' $PACKENT)
;;
x265*) # can contain vd.d or just d.d, and now our package is not versioned!
local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent
VERSION=$(sed -n 's/.*x265[^0-9]*\([^"]*\).*/\1/p' $PACKENT)
;;
libuv*|Test-MockModule*) # can contain -vd.d or just -d.d
VERSION=$(echo $1 | sed 's/^.*[v-]//')