r3015 - jhalfs/branches/experimental/BLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Aug 18 13:49:01 PDT 2006


Author: manuel
Date: 2006-08-18 14:49:01 -0600 (Fri, 18 Aug 2006)
New Revision: 3015

Modified:
   jhalfs/branches/experimental/BLFS/gen_config.sh
Log:
Fix Xorg7 packages version.

Modified: jhalfs/branches/experimental/BLFS/gen_config.sh
===================================================================
--- jhalfs/branches/experimental/BLFS/gen_config.sh	2006-08-18 20:33:38 UTC (rev 3014)
+++ jhalfs/branches/experimental/BLFS/gen_config.sh	2006-08-18 20:49:01 UTC (rev 3015)
@@ -23,9 +23,15 @@
 get_pkg_ver() {
   local this_script=$1
 
+  # ALSA packages version
   [[ ${this_script:0:4} = "alsa" ]] && this_script=alsa
+  # KDE packages version
   [[ ${this_script:0:3} = "kde" ]] && [[ ! ${this_script} = "kdevelop" ]] && \
   [[ ! ${this_script: -6} = "config" ]] && this_script=kde
+  # Xorg7 packages version
+  [[ ${this_script} = "xorg7-server" ]] && this_script=xorg-server
+  [[ ${this_script} = "xterm2" ]] && this_script=xterm
+  [[ ${this_script:0:5} = "xorg7" ]] && this_script=xorg7
 
   PKG_VER=$(xmllint --noent ./blfs-xml/book/bookinfo.xml 2>/dev/null | \
             grep -i " ${this_script}-version " | cut -d "\"" -f2 )




More information about the alfs-log mailing list