projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9288199
)
Do not copy `packages` file if --nopackages option is present
author
Michael Prokop
<mika@grml.org>
Thu, 4 Jun 2015 09:00:35 +0000
(11:00 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 4 Jun 2015 09:00:35 +0000
(11:00 +0200)
Fixes #46 @ github
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
d15849d
..
5604849
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-1308,8
+1308,10
@@
preparechroot() {
fi
# package selection:
- cp $VERBOSE "${_opt_packages:-$CONFFILES/packages}" \
- "${MNTPOINT}"/etc/debootstrap/packages
+ if [ "$PACKAGES" = 'yes' ] ; then
+ cp $VERBOSE "${_opt_packages:-$CONFFILES/packages}" \
+ "${MNTPOINT}"/etc/debootstrap/packages
+ fi
# debconf preseeding:
_opt_debconf=${_opt_debconf:-$CONFFILES/debconf-selections}