5 echo "Make sure we install the required custom Tails packages"
7 # The following packages must be custom Tails versions, which currently is determined by ".0tails" being a substring of the version.
13 dpkg-query
--show --showformat='${Version}' "${1}" 2>/dev
/null
16 tails_package_installed
() {
17 package_version
"${1}" |
grep -q "\.0tails"
21 for p
in ${TAILS_PACKAGES}; do
22 if ! tails_package_installed
"${p}"; then
23 errors
="${errors} ${p}"
27 if [ -n "${errors}" ]; then
28 echo "These packages were expected to be custom Tails versions," \
30 for p
in ${errors}; do
31 echo " - ${p} ($(package_version "${p}"))" >&2