EFIROOT=/EFI/debian
export LC_COLLATE=C
-ARCHITECTURE=$(dpkg --print-installation-architecture)
+ARCHITECTURE=$(dpkg --print-architecture)
## catch signals, clean up junk in /tmp.
trap "cleanup" 0
if [ -L "$boot" ] ; then
oldboot=$boot
boot=$(readlink -f $oldboot)
- echo 1>&2 "$PRG: $oldboot is a symbolic link, using $boot instead"
fi
if [ ! -e "$boot" ] ; then
echo 1>&2 "$PRG: $boot: No such file or directory"