]> git.proxmox.com Git - ceph.git/blob - ceph/debian/ceph-mgr-diskprediction-local.postinst
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / debian / ceph-mgr-diskprediction-local.postinst
1 #!/bin/sh
2 # vim: set noet ts=8:
3 # postinst script for ceph-mgr-diskprediction-local
4 #
5 # see: dh_installdeb(1)
6
7 set -e
8
9 # summary of how this script can be called:
10 #
11 # postinst configure <most-recently-configured-version>
12 # old-postinst abort-upgrade <new-version>
13 # conflictor's-postinst abort-remove in-favour <package> <new-version>
14 # postinst abort-remove
15 # deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>]
16 #
17
18 # for details, see http://www.debian.org/doc/debian-policy/ or
19 # the debian-policy package
20
21 case "$1" in
22 configure)
23 # attempt to load the plugin if the mgr is running
24 deb-systemd-invoke try-restart ceph-mgr.target
25 ;;
26 abort-upgrade|abort-remove|abort-deconfigure)
27 :
28 ;;
29
30 *)
31 echo "postinst called with unknown argument \`$1'" >&2
32 exit 1
33 ;;
34 esac
35
36 # dh_installdeb will replace this with shell code automatically
37 # generated by other debhelper scripts.
38
39 #DEBHELPER#
40
41 exit 0
42
43