projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid installation of os-proper in VM environments
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
a27dd58
..
b0737ca
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-75,8
+75,8
@@
askpass() {
# define chroot mirror {{{
chrootmirror() {
# define chroot mirror {{{
chrootmirror() {
- if [
-n "$KEEP_SRC_LIST
" ] ; then
- echo "KEEP_SRC_LIST has been
set
, skipping chrootmirror stage."
+ if [
"$KEEP_SRC_LIST" = "yes
" ] ; then
+ echo "KEEP_SRC_LIST has been
enabled
, skipping chrootmirror stage."
return
fi
return
fi
@@
-129,8
+129,8
@@
chrootmirror() {
# remove local chroot mirror {{{
remove_chrootmirror() {
# remove local chroot mirror {{{
remove_chrootmirror() {
- if [
-n "$KEEP_SRC_LIST
" ] ; then
- echo "KEEP_SRC_LIST has been
set
, skipping remove_chrootmirror stage."
+ if [
"$KEEP_SRC_LIST" = "yes
" ] ; then
+ echo "KEEP_SRC_LIST has been
enabled
, skipping remove_chrootmirror stage."
return
fi
return
fi