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:
ff2e31c
)
Fix usage of DEBIAN_FRONTEND
author
Michael Prokop
<mika@grml.org>
Mon, 16 Apr 2007 13:29:18 +0000
(15:29 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 16 Apr 2007 13:29:18 +0000
(15:29 +0200)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
0293940
..
0dc55be
100644
(file)
--- a/
chroot-script
+++ b/
chroot-script
@@
-16,10
+16,10
@@
set -e # exit on any error
# use aptitude only if it's available
if [ -x /usr/bin/aptitude ] ; then
# use aptitude only if it's available
if [ -x /usr/bin/aptitude ] ; then
- APTINSTALL='
DEBIAN_FRONTEND=$DEBIAN_FRONTEND
aptitude -y install '
+ APTINSTALL='aptitude -y install '
APTUPDATE='aptitude update'
else
APTUPDATE='aptitude update'
else
- APTINSTALL='
DEBIAN_FRONTEND=$DEBIAN_FRONTEND
apt-get --force-yes -y install'
+ APTINSTALL='apt-get --force-yes -y install'
APTUPDATE='apt-get update'
fi
APTUPDATE='apt-get update'
fi
@@
-89,7
+89,7
@@
packages() {
exit 1
else
$APTUPDATE
exit 1
else
$APTUPDATE
- $APTINSTALL $(cat /etc/debootstrap/packages) $GRMLPACKAGES
+
DEBIAN_FRONTEND=$DEBIAN_FRONTEND
$APTINSTALL $(cat /etc/debootstrap/packages) $GRMLPACKAGES
fi
fi
}
fi
fi
}
@@
-121,7
+121,7
@@
kernel() {
else
KERNELPACKAGES="linux-image-$KERNEL linux-headers-$KERNEL"
fi
else
KERNELPACKAGES="linux-image-$KERNEL linux-headers-$KERNEL"
fi
- $APTINSTALL $KERNELPACKAGES
+
DEBIAN_FRONTEND=$DEBIAN_FRONTEND
$APTINSTALL $KERNELPACKAGES
fi
}
# }}}
fi
}
# }}}