summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-04-04 13:40:29 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-04-04 13:40:29 +0200
commitb22b86021fa01c334e9ccbebd203a49bf3066802 (patch)
treefa471a7416533d5a79b37abf0974bcabfadf2584
parent05e42760dc6ac0a8236d7f69fb0f30ba6d380ed0 (diff)
downloaditzks-systems-b22b86021fa01c334e9ccbebd203a49bf3066802.tar.gz
itzks-systems-b22b86021fa01c334e9ccbebd203a49bf3066802.tar.bz2
itzks-systems-b22b86021fa01c334e9ccbebd203a49bf3066802.zip
itzks-systems-mainserver.maintscript: Handle removal of iceweasel.desktop in skeleton.
-rw-r--r--debian/itzks-systems-mainserver.maintscript3
-rwxr-xr-xdebian/itzks-systems-mainserver.postinst46
-rwxr-xr-xdebian/itzks-systems-mainserver.postrm40
-rwxr-xr-xdebian/itzks-systems-mainserver.preinst41
-rwxr-xr-xdebian/itzks-systems-mainserver.prerm36
5 files changed, 3 insertions, 163 deletions
diff --git a/debian/itzks-systems-mainserver.maintscript b/debian/itzks-systems-mainserver.maintscript
new file mode 100644
index 0000000..4cf6f67
--- /dev/null
+++ b/debian/itzks-systems-mainserver.maintscript
@@ -0,0 +1,3 @@
+# /etc/skel/Desktop/iceweasel.desktop
+rm_conffile /etc/skel/Desktop/iceweasel.desktop 2018.01.05.3~
+
diff --git a/debian/itzks-systems-mainserver.postinst b/debian/itzks-systems-mainserver.postinst
deleted file mode 100755
index ce13785..0000000
--- a/debian/itzks-systems-mainserver.postinst
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-# postinst script for itzks-systems-mainserver
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# 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
-
-case "$1" in
- configure)
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-### removing conf files
-
-# /etc/skel/Desktop/iceweasel.desktop
-dpkg-maintscript-helper rm_conffile /etc/skel/Desktop/iceweasel.desktop 2018.01.05.3~ -- "$@"
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/itzks-systems-mainserver.postrm b/debian/itzks-systems-mainserver.postrm
deleted file mode 100755
index dab733d..0000000
--- a/debian/itzks-systems-mainserver.postrm
+++ /dev/null
@@ -1,40 +0,0 @@
-#! /bin/sh
-# postrm script for itzks-systems-mainserver
-#
-# see: dh_installdeb(1)
-# 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/
-
-set -e
-
-
-case "$1" in
- purge|remove)
- ;;
- upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-### removing conf files
-
-# /etc/skel/Desktop/iceweasel.desktop
-dpkg-maintscript-helper rm_conffile /etc/skel/Desktop/iceweasel.desktop 2018.01.05.3~ -- "$@"
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/itzks-systems-mainserver.preinst b/debian/itzks-systems-mainserver.preinst
deleted file mode 100755
index 78dc205..0000000
--- a/debian/itzks-systems-mainserver.preinst
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-# preinst script for itzks-systems-mainserver
-#
-# 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
-
-case "$1" in
- install|upgrade)
- ;;
- abort-upgrade)
- ;;
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-### removing conf files
-
-# /etc/skel/Desktop/iceweasel.desktop
-dpkg-maintscript-helper rm_conffile /etc/skel/Desktop/iceweasel.desktop 2018.01.05.3~ -- "$@"
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/itzks-systems-mainserver.prerm b/debian/itzks-systems-mainserver.prerm
deleted file mode 100755
index 921397b..0000000
--- a/debian/itzks-systems-mainserver.prerm
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-# prerm script for itzks-systems-mainserver
-#
-# see: dh_installdeb(1)
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-set -e
-case "$1" in
- remove)
- ;;
- deconfigure|upgrade|failed-upgrade)
- ;;
- *) echo "$0: didn't understand being called with \`$1'" 1>&2
- exit 1;;
-esac
-
-### removing conf files
-
-# /etc/skel/Desktop/iceweasel.desktop
-dpkg-maintscript-helper rm_conffile /etc/skel/Desktop/iceweasel.desktop 2018.01.05.3~ -- "$@"
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0