Merge pull request #198 from cloudbuilders/fix_noprime

don't use NOPRIME in stack.sh
This commit is contained in:
vishvananda 2011-11-15 15:33:29 -08:00
commit 9f3ebced86

View file

@ -376,8 +376,6 @@ fi
# - We are going to install packages only for the services needed. # - We are going to install packages only for the services needed.
# - We are parsing the packages files and detecting metadatas. # - We are parsing the packages files and detecting metadatas.
# - If there is a NOPRIME as comment mean we are not doing the install
# just yet.
# - If we have the meta-keyword distro:DISTRO or # - If we have the meta-keyword distro:DISTRO or
# distro:DISTRO1,DISTRO2 it will be installed only for those # distro:DISTRO1,DISTRO2 it will be installed only for those
# distros (case insensitive). # distros (case insensitive).
@ -411,10 +409,6 @@ function get_packages() {
OIFS=$IFS OIFS=$IFS
IFS=$'\n' IFS=$'\n'
for line in $(<${fname}); do for line in $(<${fname}); do
if [[ $line =~ "NOPRIME" ]]; then
continue
fi
if [[ $line =~ (.*)#.*dist:([^ ]*) ]]; then # We are using BASH regexp matching feature. if [[ $line =~ (.*)#.*dist:([^ ]*) ]]; then # We are using BASH regexp matching feature.
package=${BASH_REMATCH[1]} package=${BASH_REMATCH[1]}
distros=${BASH_REMATCH[2]} distros=${BASH_REMATCH[2]}