]> git.proxmox.com Git - pve-cluster.git/commitdiff
remove postinst script
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 13 Apr 2017 09:35:04 +0000 (11:35 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 1 Jun 2017 06:52:43 +0000 (08:52 +0200)
we only executed a 'pvecm updatecerts --silent there', but we do this
already in the systemd service in ExecStartPost, so
this is unnecessary

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
debian/postinst [deleted file]

diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644 (file)
index 148c496..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# postinst script for pve-cluster
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-case "$1" in
-    configure)
-       if test ! -e /proxmox_install_mode; then
-           # invoke-rc.d rsyslog restart
-           pvecm updatecerts --silent 
-       fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-
-exit 0
-
-