From d0e13dd268820e6e3c6420967f4e5d251edcebfe Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 7 Jul 2017 07:40:42 +0000 Subject: [PATCH] Two new version special cases in BLFS --- pkgmngt/packInstall.sh.porg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgmngt/packInstall.sh.porg b/pkgmngt/packInstall.sh.porg index c77f99f..165f5b9 100644 --- a/pkgmngt/packInstall.sh.porg +++ b/pkgmngt/packInstall.sh.porg @@ -29,6 +29,10 @@ case $1 in local VERSION2=$(sed -n 's/.*icu-minor[^0-9]*\([^"]*\).*/\1/p' $PACKENT) VERSION=$VERSION1.$VERSION2 ;; + flashplayer*) + local PACKENT=$(dirname $PACK_INSTALL)/blfs-xml/packages.ent + VERSION=$(sed -n 's/.*flashplayer[^0-9]*\([^"]*\).*/\1/p' $PACKENT) + ;; soundtouch*) local PACKENT=$(dirname $PACK_INSTALL)/blfs-xml/packages.ent VERSION=$(sed -n 's/.*soundtouch[^0-9]*\([^"]*\).*/\1/p' $PACKENT) @@ -46,6 +50,9 @@ case $1 in cacerts*) VERSION=0.1 ;; + btrfs*) + VERSION=$(echo $1 | sed 's/^.*v//') + ;; *) VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g') ;;