5 export PATH=/usr/bin:/usr/sbin:/sbin:/bin
7 frontend=noninteractive
14 while [ "${#}" -ge 1 ]
23 if [ "${D}" = "${P}" ]
33 if [ -x "${ROOT}${D}/${1}" ]
48 C=$(findcommandinroot "${1}" "${2}")
54 [ -n "${C}" ] && chroot "${ROOT}" "${C}" "${@}"
60 version=$(runcommandinroot "${root}" dpkg-query -W --showformat='${Version}' "${package}" 2>/dev/null) || version=""
62 if [ -z "${version}" ]
64 echo >&2 "${0}: package '${package}' is not installed"
68 runcommandinroot "${root}" dpkg-reconfigure -fnoninteractive --no-reload "${package}"