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:
c3dbeb4
)
chroot-script: clarify error message iff packages is not available + send it to stderr
author
Michael Prokop
<mika@grml.org>
Thu, 13 Oct 2011 15:15:05 +0000
(17:15 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 13 Oct 2011 15:15:05 +0000
(17:15 +0200)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
fe0becb
..
294b749
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-182,7
+182,7
@@
packages() {
if [ "$PACKAGES" = 'yes' ] ; then
if ! [ -r /etc/debootstrap/packages ] ; then
if [ "$PACKAGES" = 'yes' ] ; then
if ! [ -r /etc/debootstrap/packages ] ; then
- echo "Error: /etc/debootstrap/packages
not found, exiting."
+ echo "Error: /etc/debootstrap/packages
(inside chroot) not found, exiting." >&2
exit 1
else
$APTUPDATE
exit 1
else
$APTUPDATE