Author: pierre
Date: Sat Mar 10 02:02:26 2018
New Revision: 4051

Log:
packInstall.sh.porg: account for the possibility of
having a source directory named x265_vx.y or just x265_x.y
(where x and y are digits)

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

Modified: jhalfs/trunk/pkgmngt/packInstall.sh.porg
==============================================================================
--- jhalfs/trunk/pkgmngt/packInstall.sh.porg    Sun Feb 25 00:30:01 2018        
(r4050)
+++ jhalfs/trunk/pkgmngt/packInstall.sh.porg    Sat Mar 10 02:02:26 2018        
(r4051)
@@ -66,9 +66,11 @@
   cacerts*)
     VERSION=0.1
     ;;
-  btrfs*|node*|x265*)
+  btrfs*|node*)
     VERSION=$(echo $1 | sed 's/^.*v//')
     ;;
+  x265*) # can contain vd.d or just d.d: thanks to packagers
+    VERSION=$(echo $1 | sed 's/^.*[v_]//')
   *)
     VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g')
     ;;
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to