]> git.proxmox.com Git - ceph.git/blame - ceph/debian/ceph-mgr-diskprediction-local.postinst
Import ceph 15.2.8
[ceph.git] / ceph / debian / ceph-mgr-diskprediction-local.postinst
CommitLineData
11fdf7f2
TL
1#!/bin/sh
2# vim: set noet ts=8:
3# postinst script for ceph-mgr-diskprediction-local
4#
5# see: dh_installdeb(1)
6
7set -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
21case "$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 ;;
34esac
35
36# dh_installdeb will replace this with shell code automatically
37# generated by other debhelper scripts.
38
39#DEBHELPER#
40
41exit 0
42
43