diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-07-15 22:01:09 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-07-15 22:01:09 +0200 |
commit | bec9fb353f66538233bffc115711f3479a7c0ad6 (patch) | |
tree | fd782c94346f2868892c44c60d8bae5a8cccf43d /debian | |
parent | fa5417e81d1877279da8f03a6691975e86f3f30f (diff) |
Remove *.postinst, *.postrm and *.preinst
Diffstat (limited to 'debian')
-rw-r--r-- | debian/argyll-dbg.postinst | 40 | ||||
-rw-r--r-- | debian/argyll-dbg.postrm | 33 | ||||
-rw-r--r-- | debian/argyll-dbg.preinst | 31 | ||||
-rw-r--r-- | debian/argyll-ref.postinst | 40 | ||||
-rw-r--r-- | debian/argyll-ref.postrm | 33 | ||||
-rw-r--r-- | debian/argyll-ref.preinst | 31 | ||||
-rw-r--r-- | debian/argyll.postinst | 40 | ||||
-rw-r--r-- | debian/argyll.postrm | 34 | ||||
-rw-r--r-- | debian/argyll.preinst | 32 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/icc-utils.postinst | 41 | ||||
-rw-r--r-- | debian/icc-utils.postrm | 33 | ||||
-rw-r--r-- | debian/icc-utils.preinst | 32 | ||||
-rwxr-xr-x | debian/rules | 2 |
14 files changed, 3 insertions, 421 deletions
diff --git a/debian/argyll-dbg.postinst b/debian/argyll-dbg.postinst deleted file mode 100644 index 66ce5b3..0000000 --- a/debian/argyll-dbg.postinst +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# 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 - -# source debconf library -#. /usr/share/debconf/confmodule - - -case "$1" in - - configure|abort-upgrade|abort-remove|abort-deconfigure) - # Replace documentation directory symlink - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-dbg /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; - -esac - -#DEBHELPER# - - -exit 0 diff --git a/debian/argyll-dbg.postrm b/debian/argyll-dbg.postrm deleted file mode 100644 index 0ebb9d3..0000000 --- a/debian/argyll-dbg.postrm +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh -# postrm script for argyll -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-dbg /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# diff --git a/debian/argyll-dbg.preinst b/debian/argyll-dbg.preinst deleted file mode 100644 index 94caee7..0000000 --- a/debian/argyll-dbg.preinst +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# preinst script for #PACKAGE# -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <new-preinst> `install' -# * <new-preinst> `install' <old-version> -# * <new-preinst> `upgrade' <old-version> -# * <old-preinst> `abort-upgrade' <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -case "$1" in - install|upgrade|abort-upgrade) - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-dbg /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/argyll-ref.postinst b/debian/argyll-ref.postinst deleted file mode 100644 index 5584c80..0000000 --- a/debian/argyll-ref.postinst +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# 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 - -# source debconf library -#. /usr/share/debconf/confmodule - - -case "$1" in - - configure|abort-upgrade|abort-remove|abort-deconfigure) - # Replace documentation directory symlink - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-ref /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; - -esac - -#DEBHELPER# - - -exit 0 diff --git a/debian/argyll-ref.postrm b/debian/argyll-ref.postrm deleted file mode 100644 index 3741e51..0000000 --- a/debian/argyll-ref.postrm +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh -# postrm script for argyll -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-ref /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# diff --git a/debian/argyll-ref.preinst b/debian/argyll-ref.preinst deleted file mode 100644 index d5fdfc6..0000000 --- a/debian/argyll-ref.preinst +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# preinst script for #PACKAGE# -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <new-preinst> `install' -# * <new-preinst> `install' <old-version> -# * <new-preinst> `upgrade' <old-version> -# * <old-preinst> `abort-upgrade' <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -case "$1" in - install|upgrade|abort-upgrade) - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-ref /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/argyll.postinst b/debian/argyll.postinst deleted file mode 100644 index 7621237..0000000 --- a/debian/argyll.postinst +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# 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 - -# source debconf library -#. /usr/share/debconf/confmodule - - -case "$1" in - - configure|abort-upgrade|abort-remove|abort-deconfigure) - # Replace documentation directory symlink - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; - -esac - -#DEBHELPER# - - -exit 0 diff --git a/debian/argyll.postrm b/debian/argyll.postrm deleted file mode 100644 index f9614cb..0000000 --- a/debian/argyll.postrm +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/sh -# postrm script for argyll -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - rm -rf /var/lib/argyll - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# diff --git a/debian/argyll.preinst b/debian/argyll.preinst deleted file mode 100644 index a3bdca6..0000000 --- a/debian/argyll.preinst +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# preinst script for #PACKAGE# -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <new-preinst> `install' -# * <new-preinst> `install' <old-version> -# * <new-preinst> `upgrade' <old-version> -# * <old-preinst> `abort-upgrade' <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade|abort-upgrade) - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/changelog b/debian/changelog index 5c0a382..fa4ed4f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,6 +18,8 @@ argyll (2.0.1+repack-1) UNRELEASED; urgency=medium - Use secure copyright format URI. - Correct typo. - Refresh copyright years. + * Remove *.postinst, *.postrm and *.preinst. They was used for release + 1.6.3-2 and at oldstable are 1.6.3-4. -- Jörg Frings-Fürst <debian@jff.email> Wed, 11 Jul 2018 22:21:14 +0200 diff --git a/debian/icc-utils.postinst b/debian/icc-utils.postinst deleted file mode 100644 index 42dfee1..0000000 --- a/debian/icc-utils.postinst +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# -# 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 - -# source debconf library -#. /usr/share/debconf/confmodule - - -case "$1" in - - configure|abort-upgrade|abort-remove|abort-deconfigure) - # Replace documentation directory symlink - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/icc-utils /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; - -esac - -#DEBHELPER# - - -exit 0 diff --git a/debian/icc-utils.postrm b/debian/icc-utils.postrm deleted file mode 100644 index eb12775..0000000 --- a/debian/icc-utils.postrm +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh -# postrm script for icc-utils -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see /usr/share/doc/packaging-manual/ - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/icc-utils /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# diff --git a/debian/icc-utils.preinst b/debian/icc-utils.preinst deleted file mode 100644 index 98e4723..0000000 --- a/debian/icc-utils.preinst +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# preinst script for icc-utils -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <new-preinst> `install' -# * <new-preinst> `install' <old-version> -# * <new-preinst> `upgrade' <old-version> -# * <old-preinst> `abort-upgrade' <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade|abort-upgrade) - dpkg-maintscript-helper symlink_to_dir /usr/share/doc/icc-utils /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@" - ;; - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/rules b/debian/rules index 5e729d0..eba763e 100755 --- a/debian/rules +++ b/debian/rules @@ -34,7 +34,7 @@ override_dh_auto_install: sed -i 's/CREATED.*/CREATED $(CRDATE)/' $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/linear.cal sed -i 's/CREATED.*/CREATED $(CRDATE)/' $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/strange.cal -override_dh_installdocs: +override_dh_installdocs-indep: dh_installdocs mv $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll/* $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/ rmdir $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll |