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:
ac7c30a
)
reorder execution of apt-get install and dpkg-reconfigure
author
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 10:40:38 +0000
(11:40 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 10:40:38 +0000
(11:40 +0100)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
ee169b0
..
9de9aad
100644
(file)
--- a/
chroot-script
+++ b/
chroot-script
@@
-17,12
+17,6
@@
if [ -n "MIRROR_LIST" ] ; then
echo $MIRROR_LIST > /etc/apt/sources.list
fi
echo $MIRROR_LIST > /etc/apt/sources.list
fi
-if [ -n "$RECONFIGURE" ] ; then
- for package in $RECONFIGURE ; do
- dpkg --list $package && dpkg-reconfigure $package || echo "Warning: $package does not exist, can not reconfigure it."
- done
-fi
-
# install additional packages
if [ "$PACKAGES" = 'yes' ] ; then
if ! [ -r /etc/debootstrap/packages ] ; then
# install additional packages
if [ "$PACKAGES" = 'yes' ] ; then
if ! [ -r /etc/debootstrap/packages ] ; then
@@
-34,6
+28,12
@@
if [ "$PACKAGES" = 'yes' ] ; then
fi
fi
fi
fi
+if [ -n "$RECONFIGURE" ] ; then
+ for package in $RECONFIGURE ; do
+ dpkg --list $package && dpkg-reconfigure $package || echo "Warning: $package does not exist, can not reconfigure it."
+ done
+fi
+
# set password of user root
# shadowconfig
passwd
# set password of user root
# shadowconfig
passwd