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*) cacerts*)
VERSION=0.1 VERSION=0.1
;; ;;
inih*)
VERSION=$(echo $1 | sed 's/^.*r//')
;;
btrfs*|node*|pnmixer*) btrfs*|node*|pnmixer*)
VERSION=$(echo $1 | sed 's/^.*v//') VERSION=$(echo $1 | sed 's/^.*v//')
;; ;;
x265*) # can contain vd.d or just d.d: thanks to packagers x265*) # can contain vd.d or just d.d: thanks to packagers
VERSION=$(echo $1 | sed 's/^.*[v_]//') 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-]//') 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-]//') VERSION=$(echo $1 | sed 's/^.*[r-]//')
;; ;;
*) *)