summaryrefslogtreecommitdiff
path: root/debian/dpkg.postinst
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-17 00:45:16 +0200
committerGuillem Jover <guillem@debian.org>2016-10-29 16:02:51 +0200
commit385481dd3e33cbdd550b129db38f228c5c956539 (patch)
tree26cedb84b6b0cff33b44cdbf5c7f3d7f45e97ddb /debian/dpkg.postinst
parentb7972c6df31f9990efb70ed662ca4ba2f6d365bd (diff)
downloaddpkg-385481dd3e33cbdd550b129db38f228c5c956539.tar.gz
man: Add basic maintainer script man pages
These document the bare minimum, with a brief description of the maintainer scripts and the ways they can get called.
Diffstat (limited to 'debian/dpkg.postinst')
-rwxr-xr-xdebian/dpkg.postinst22
1 files changed, 1 insertions, 21 deletions
diff --git a/debian/dpkg.postinst b/debian/dpkg.postinst
index d0df01432..b685d61fd 100755
--- a/debian/dpkg.postinst
+++ b/debian/dpkg.postinst
@@ -1,25 +1,5 @@
#!/bin/sh
-# This script can be called in the following ways:
-#
-# After the package was installed:
-# <postinst> configure <old-version>
-#
-# After the package was triggered:
-# <postinst> triggered <trigger-name>…
-#
-#
-# If prerm fails during upgrade or fails on failed upgrade:
-# <old-postinst> abort-upgrade <new-version>
-#
-# If prerm fails during removal:
-# <old-postinst> abort-remove
-#
-# If prerm fails during deconfiguration of a package:
-# <postinst> abort-deconfigure in-favour <new-package> <version>
-# removing <old-package> <version>
-#
-# If prerm fails during replacement due to conflict:
-# <postinst> abort-remove in-favour <new-package> <version>
+# See deb-postinst(5).
set -e