From fb42452970665de385cf30eab537e7923f303a02 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Fri, 18 Aug 2006 20:49:01 +0000 Subject: [PATCH] Fix Xorg7 packages version. --- BLFS/gen_config.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BLFS/gen_config.sh b/BLFS/gen_config.sh index 25b06f3..c9752fe 100755 --- a/BLFS/gen_config.sh +++ b/BLFS/gen_config.sh @@ -23,9 +23,15 @@ declare PKG_VER 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 )