Skip to content
Snippets Groups Projects

debian/debhelper.in/libc.preinst: skip kernel check in chrootless mode

Merged Johannes Schauer Marin Rodrigues requested to merge josch/glibc:dpkg-root into sid
All threads resolved!
@@ -11,7 +11,7 @@ kernel_compare_versions () {
test $verA -$2 $verB
}
if [ "$type" != abort-upgrade ] && [ -z "$DPKG_ROOT" ]
if [ "$type" != abort-upgrade ]
then
# Load debconf module if available and usable
if [ -f /usr/share/debconf/confmodule ] && \
@@ -25,7 +25,10 @@ then
# Only change LC_ALL after loading debconf to ensure the debconf templates
# are properly localized.
export LC_ALL=C
fi
if [ "$type" != abort-upgrade ] && [ -z "$DPKG_ROOT" ]
then
# See if LD_LIBRARY_PATH contains the traditional /lib, but not the
# multiarch path
dirs=$(echo $LD_LIBRARY_PATH | sed 's/:/ /g')
Loading