|
@@ -3,21 +3,20 @@
|
|
|
set -e
|
|
|
|
|
|
case "$1" in
|
|
|
-configure)
|
|
|
- if command -v udevadm >/dev/null; then
|
|
|
- udevadm control --reload || true
|
|
|
- fi
|
|
|
- # load the kernel module (as opposed to letting the init script do it)
|
|
|
- if [ -d /run/systemd/system ] ; then
|
|
|
- /lib/systemd/systemd-modules-load aoetools.conf || true
|
|
|
- fi
|
|
|
- ;;
|
|
|
-abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
- ;;
|
|
|
-*)
|
|
|
- echo "postinst called with unknown argument '$1'"
|
|
|
- exit 1
|
|
|
- ;;
|
|
|
+ configure)
|
|
|
+ if command -v udevadm >/dev/null; then
|
|
|
+ udevadm control --reload || true
|
|
|
+ fi
|
|
|
+ # load the kernel module (as opposed to letting the init script do it)
|
|
|
+ if [ -d /run/systemd/system ]; then
|
|
|
+ /lib/systemd/systemd-modules-load aoetools.conf || true
|
|
|
+ fi
|
|
|
+ ;;
|
|
|
+ abort-upgrade | abort-remove | abort-deconfigure) ;;
|
|
|
+ *)
|
|
|
+ echo "postinst called with unknown argument '$1'"
|
|
|
+ exit 1
|
|
|
+ ;;
|
|
|
esac
|
|
|
|
|
|
#DEBHELPER#
|