Merge pull request #198 from cloudbuilders/fix_noprime
don't use NOPRIME in stack.sh
This commit is contained in:
commit
9f3ebced86
1 changed files with 0 additions and 6 deletions
6
stack.sh
6
stack.sh
|
@ -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]}
|
||||||
|
|
Loading…
Reference in a new issue