Fix packInstall.sh for recent packages

This commit is contained in:
Pierre Labastie 2021-03-09 22:02:19 +01:00
parent 47dfc81bdc
commit 82eacf52a5

View file

@ -67,19 +67,16 @@ case $1 in
cacerts*)
VERSION=0.1
;;
inih*)
VERSION=$(echo $1 | sed 's/^.*r//')
;;
btrfs*|node*|pnmixer*)
VERSION=$(echo $1 | sed 's/^.*v//')
;;
x265*) # can contain vd.d or just d.d: thanks to packagers
VERSION=$(echo $1 | sed 's/^.*[v_]//')
;;
libuv*|Test-MockModule*|libhandy*) # can contain -vd.d or just -d.d
libuv*|Test-MockModule*) # can contain -vd.d or just -d.d
VERSION=$(echo $1 | sed 's/^.*[v-]//')
;;
junit*) # can contain -rd.d or just -d.d
junit*|inih*) # can contain -rd.d or just -d.d
VERSION=$(echo $1 | sed 's/^.*[r-]//')
;;
*)