Browse code

Merge pull request #198 from cloudbuilders/fix_noprime

don't use NOPRIME in stack.sh

vishvananda authored on 2011/11/16 08:33:29
Showing 1 changed files
... ...
@@ -376,8 +376,6 @@ fi
376 376
 
377 377
 # - We are going to install packages only for the services needed.
378 378
 # - We are parsing the packages files and detecting metadatas.
379
-#  - If there is a NOPRIME as comment mean we are not doing the install
380
-#    just yet.
381 379
 #  - If we have the meta-keyword distro:DISTRO or
382 380
 #    distro:DISTRO1,DISTRO2 it will be installed only for those
383 381
 #    distros (case insensitive).
... ...
@@ -411,10 +409,6 @@ function get_packages() {
411 411
         OIFS=$IFS
412 412
         IFS=$'\n'
413 413
         for line in $(<${fname}); do
414
-            if [[ $line =~ "NOPRIME" ]]; then
415
-                continue
416
-            fi
417
-
418 414
             if [[ $line =~ (.*)#.*dist:([^ ]*) ]]; then # We are using BASH regexp matching feature.
419 415
                         package=${BASH_REMATCH[1]}
420 416
                         distros=${BASH_REMATCH[2]}