Special case for unrar in packInstall.sh.porg

This commit is contained in:
Pierre Labastie 2018-02-25 08:30:01 +00:00
parent 8fb1daade2
commit 5c69841844

View file

@ -45,6 +45,10 @@ case $1 in
local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent
VERSION=$(sed -n 's/.*soundtouch[^0-9]*\([^"]*\).*/\1/p' $PACKENT) VERSION=$(sed -n 's/.*soundtouch[^0-9]*\([^"]*\).*/\1/p' $PACKENT)
;; ;;
unrar*)
local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent
VERSION=$(sed -n 's/.*unrar[^0-9]*\([^"]*\).*/\1/p' $PACKENT)
;;
xvid*) xvid*)
local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent local PACKENT=$(dirname $JH_PACK_INSTALL)/blfs-xml/packages.ent
VERSION=$(sed -n 's/.*xvid[^0-9]*\([^"]*\).*/\1/p' $PACKENT) VERSION=$(sed -n 's/.*xvid[^0-9]*\([^"]*\).*/\1/p' $PACKENT)