9 lines
638 B
Bash
Executable File
9 lines
638 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
# Automatically added by dh_installsystemd/13.14.1ubuntu5
|
|
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
|
deb-systemd-invoke stop 'run-qemu.mount' >/dev/null || true
|
|
fi
|
|
# End automatically added section
|
|
case $1 in (upgrade|deconfigure) [ -d /run/qemu ] || exit 0; ! findmnt --noheadings --target /run/qemu/ | grep -q noexec || exit 0; mkdir -p /run/qemu/Debian_1_8.2.2+ds-0ubuntu1.11; for m in /usr/lib/x86_64-linux-gnu/qemu/block-*.so; do if echo "block-gluster.so" | grep -qF `basename "$m"`; then continue; else cp -p $m /run/qemu/Debian_1_8.2.2+ds-0ubuntu1.11/; fi; done;; esac
|