X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=chroot-script;fp=chroot-script;h=0d95d6790d553445e01f3f36a8b2ebfa97591df9;hb=3f28b112fddeba2c9a420792507e1b3d1ca273a6;hp=a5f92c402c847e97b6f182a7fd2af9a071c0d8b3;hpb=622ca58e0d5585069b51ecbb60d0a36eede4d53a;p=grml-debootstrap.git diff --git a/chroot-script b/chroot-script index a5f92c4..0d95d67 100755 --- a/chroot-script +++ b/chroot-script @@ -75,8 +75,8 @@ askpass() { # 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 @@ -129,8 +129,8 @@ 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