diff options
author | Raphaƫl Hertzog <hertzog@debian.org> | 2014-12-05 09:45:40 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-12-10 08:42:31 +0100 |
commit | 04a09f27e4089aaab0694ea067d7273d9420f9c8 (patch) | |
tree | 3f85c3d6c7303c3feab56edd0ad7d119b06e3881 | |
parent | 2841d696c0ecab4e6c209ac02f9ef2f70f28dd9c (diff) | |
download | vyos-live-build-04a09f27e4089aaab0694ea067d7273d9420f9c8.tar.gz vyos-live-build-04a09f27e4089aaab0694ea067d7273d9420f9c8.zip |
Skip comments in package lists.
Comments in package lists used to work in live-build 3.x (although
possibly only as a side-effect of some other logic) and being able to
comment package is a useful feature (to explain why some packages are
included and to make it easy to uncomment some lines to add more useful
packages).
-rwxr-xr-x | functions/packagelists.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/packagelists.sh b/functions/packagelists.sh index 8470d9af9..02a879d15 100755 --- a/functions/packagelists.sh +++ b/functions/packagelists.sh @@ -107,6 +107,10 @@ Expand_packagelist () _LB_ENABLED=1 ;; + \#*) + # Skip comments + ;; + *) if [ ${_LB_ENABLED} -eq 1 ] then |