[pve-devel] [PATCH cluster] remove postinst script

Dominik Csapak d.csapak at proxmox.com
Thu Apr 13 11:35:04 CEST 2017


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 at proxmox.com>
---
 debian/postinst | 45 ---------------------------------------------
 1 file changed, 45 deletions(-)
 delete mode 100644 debian/postinst

diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index 148c496..0000000
--- a/debian/postinst
+++ /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
-
-
-- 
2.11.0





More information about the pve-devel mailing list