projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a454a1a
)
Use DEBIAN_FRONTEND inside chroot-script
author
Michael Prokop
<mika@grml.org>
Mon, 16 Apr 2007 13:05:58 +0000
(15:05 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 16 Apr 2007 13:05:58 +0000
(15:05 +0200)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
29cd840
..
5bfcb44
100644
(file)
--- a/
chroot-script
+++ b/
chroot-script
@@
-130,7
+130,9
@@
kernel() {
reconfigure() {
if [ -n "$RECONFIGURE" ] ; then
for package in $RECONFIGURE ; do
reconfigure() {
if [ -n "$RECONFIGURE" ] ; then
for package in $RECONFIGURE ; do
- dpkg --list $package 1>/dev/null 2>/dev/null && dpkg-reconfigure $package || echo "Warning: $package does not exist, can not reconfigure it."
+ dpkg --list $package 1>/dev/null 2>/dev/null && \
+ DEBIAN_FRONTEND=$DEBIAN_FRONTEND dpkg-reconfigure $package || \
+ echo "Warning: $package does not exist, can not reconfigure it."
done
fi
}
done
fi
}