Skip to content

A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.

782 B
Raw Blame
#!/bin/sh
# Records the sources of what is installed now, while the lists that
# installed it are current. apt reads its hook (80wildos-package-sources)
# only when it starts, so the run that installs this package goes without.
set -e

if [ "$1" = configure ]; then
    /usr/libexec/wildos/record-package-sources || true
fi

#DEBHELPER#

# The 32-bit prompt's entry, registered now rather than at the next start-up
# (the service above has just written it, if this kernel refuses 32-bit
# programs). Registering again also picks up a new copy of the helper, which
# the kernel holds open.
if [ "$1" = configure ] && [ -f /run/binfmt.d/wildos-32bit.conf ] && [ -x /usr/lib/systemd/systemd-binfmt ]; then
    /usr/lib/systemd/systemd-binfmt /run/binfmt.d/wildos-32bit.conf || true
fi