X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=46155551e9a807e211c8459238e7d483a5950466;hb=bfb0afbfbca607789a0d0fe786c258fb808a5158;hp=035901c76b7c236b9ccfd0be8b949e620f6344f3;hpb=d5528b0241abf8da1700e02bf9b463ca47495ea8;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 035901c..4615555 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -74,7 +74,7 @@ MNTPOINT="/mnt/debootstrap.$$" [ -n "$RECONFIGURE" ] || RECONFIGURE='console-data' [ -n "$RELEASE" ] || RELEASE='jessie' [ -n "$RM_APTCACHE" ] || RM_APTCACHE='yes' -[ -n "$SCRIPTS" ] || SCRIPTS='yes' +[ -n "$SCRIPTS" ] || SCRIPTS='no' # deprecated, replaced by POST_SCRIPTS [ -n "$SECURE" ] || SECURE='yes' [ -n "$TIMEZONE" ] || TIMEZONE='Europe/Vienna' [ -n "$TUNE2FS" ] || TUNE2FS='tune2fs -c0 -i0' @@ -1566,7 +1566,7 @@ remove_configs() { return 0 fi - if ! mountpoint "${MNTPOINT}" ; then + if ! mountpoint "${MNTPOINT}" >/dev/null 2>&1 ; then ewarn "Target ${MNTPOINT} doesn't seem to be mounted, can't remove configuration files." ; eend 0 return 0 fi