From e63b360206fa59d0eebd82accfbf4db8475287ad Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Wed, 5 Jan 2005 11:41:54 +0000 Subject: [PATCH] Stefan Fiedler: bash: build the default bash in stages 1 and 3, and the other bash in stage 5 Index: package/base/bash/preconfig.in =================================================================== [2004122616391426621] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5409 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/bash/preconfig.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package/base/bash/preconfig.in b/package/base/bash/preconfig.in index a19d95f54..fd479ae1d 100644 --- a/package/base/bash/preconfig.in +++ b/package/base/bash/preconfig.in @@ -22,8 +22,13 @@ if pkgcheck bash X then - pkgfork bash bash2 - pkgfork bash bash3 stages "-----5---9" + if [ "$ROCKCFG_PKG_BASH_DEFAULT" == "bash2" ]; then + pkgfork bash bash2 + pkgfork bash bash3 stages "-----5---9" + elif [ "$ROCKCFG_PKG_BASH_DEFAULT" == "bash3" ]; then + pkgfork bash bash2 stages "-----5---9" + pkgfork bash bash3 + fi pkgremove bash fi