projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
90f264b
)
adjust warning text for directory target
author
Michael Prokop
<mika@grml.org>
Fri, 17 Nov 2006 22:16:19 +0000
(23:16 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 17 Nov 2006 22:16:19 +0000
(23:16 +0100)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
87166bf
..
e842828
100644
(file)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-4,7
+4,7
@@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Fre Nov 17 23:
00:30
CET 2006 [mika]
+# Latest change: Fre Nov 17 23:
16:04
CET 2006 [mika]
################################################################################
# http://www.debian.org/releases/stable/i386/apcs04.html.en
################################################################################
# http://www.debian.org/releases/stable/i386/apcs04.html.en
@@
-82,12
+82,10
@@
esac
# user should recheck his configuration
einfo "$0 - Please recheck configuration before execution:"
echo "
# user should recheck his configuration
einfo "$0 - Please recheck configuration before execution:"
echo "
- Target partition: $TARGET
- Mount-point: $MNTPOINT
- Install grub to: $GROOT / $GRUB [if empty grub will not be installed]
-
- Important! Continuing will delete all data from ${TARGET}!
-"
+ Target: $TARGET"
+ case "$MNTPOINT" in "$TARGET") ;; *) echo " Mount-point: $MNTPOINT" ;; esac
+ [ -n "$GRUB" ] && echo " Install grub to: $GROOT / $GRUB"
+ case "$MNTPOINT" in "$TARGET") ;; *) echo " Important! Continuing will delete all data from ${TARGET}!" ;; esac
einfon "Is this ok for you? [y/N] "
read a
einfon "Is this ok for you? [y/N] "
read a