[alfs-log] r3978 - jhalfs/trunk/pkgmngt

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Fri Jul 7 00:40:42 PDT 2017


Author: pierre
Date: Fri Jul  7 00:40:42 2017
New Revision: 3978

Log:
Two new version special cases in BLFS

Modified:
   jhalfs/trunk/pkgmngt/packInstall.sh.porg

Modified: jhalfs/trunk/pkgmngt/packInstall.sh.porg
==============================================================================
--- jhalfs/trunk/pkgmngt/packInstall.sh.porg	Tue Jul  4 06:01:13 2017	(r3977)
+++ jhalfs/trunk/pkgmngt/packInstall.sh.porg	Fri Jul  7 00:40:42 2017	(r3978)
@@ -29,6 +29,10 @@
     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 @@
   cacerts*)
     VERSION=0.1
     ;;
+  btrfs*)
+    VERSION=$(echo $1 | sed 's/^.*v//')
+    ;;
   *)
     VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g')
     ;;


More information about the alfs-log mailing list