Browse Source

Add preinst to abort installation on systemd booted systems.

suites/experimental
Mark Hindley 8 months ago
parent
commit
028ed93e20
  1. 10
      debian/preinst

10
debian/preinst

@ -0,0 +1,10 @@
#!/bin/sh
set -e
#
# Prevent installation if systemd is the active init.
#
if [ -d /run/systemd/system ]; then
echo "systemd is the active init system, ${DPKG_MAINTSCRIPT_PACKAGE} cannot replace or provide real systemd functionality."
exit 1
fi
#DEBHELPER#
Loading…
Cancel
Save