/usr/lib/ubiquity/compat/udpkg is in ubiquity 2.21.63.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #! /bin/sh
# Some scripts use this to figure out the architecture. In ubiquity, just
# call dpkg instead, except that --print-os needs a bit of special-casing.
if [ "$1" = --print-os ]; then
# TODO: hardcoded for now
echo linux
elif [ "$1" = -c ]; then
# udpkg -c has simpler output than dpkg -c.
dpkg --fsys-tarfile "$2" | tar t
else
exec dpkg "$@"
fi
|