diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-07 15:20:27 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-07 16:52:12 +0100 |
commit | 21d9bd0108d7b4a84afea64de47d327026efca85 (patch) | |
tree | ab624d5859a49cc995dc47c5a8427cd8a472954f /debian | |
parent | 71da1427fe6ac6b2597b07513b1f83ec7739ced6 (diff) | |
download | itzks-systems-21d9bd0108d7b4a84afea64de47d327026efca85.tar.gz itzks-systems-21d9bd0108d7b4a84afea64de47d327026efca85.tar.bz2 itzks-systems-21d9bd0108d7b4a84afea64de47d327026efca85.zip |
fetch-filter-cert: Remove init script. Not required anymore for Debian Edu 11 (which has a rootCA now).
Diffstat (limited to 'debian')
l--------- | debian/itzks-systems-diskless.fetch-filter-cert.init | 1 | ||||
-rw-r--r-- | debian/itzks-systems-diskless.maintscript | 1 | ||||
-rwxr-xr-x | debian/itzks-systems-diskless.preinst | 39 | ||||
l--------- | debian/itzks-systems-terminalserver.fetch-filter-cert.init | 1 | ||||
-rw-r--r-- | debian/itzks-systems-terminalserver.maintscript | 1 | ||||
-rwxr-xr-x | debian/itzks-systems-terminalserver.preinst | 39 | ||||
l--------- | debian/itzks-systems-workstation.fetch-filter-cert.init | 1 | ||||
-rw-r--r-- | debian/itzks-systems-workstation.maintscript | 1 | ||||
-rwxr-xr-x | debian/itzks-systems-workstation.preinst | 39 |
9 files changed, 120 insertions, 3 deletions
diff --git a/debian/itzks-systems-diskless.fetch-filter-cert.init b/debian/itzks-systems-diskless.fetch-filter-cert.init deleted file mode 120000 index 048dfd5..0000000 --- a/debian/itzks-systems-diskless.fetch-filter-cert.init +++ /dev/null @@ -1 +0,0 @@ -../etc/init.d/fetch-filter-cert
\ No newline at end of file diff --git a/debian/itzks-systems-diskless.maintscript b/debian/itzks-systems-diskless.maintscript new file mode 100644 index 0000000..905772a --- /dev/null +++ b/debian/itzks-systems-diskless.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/init.d/fetch-filter-cert 2022.01.07.1~ diff --git a/debian/itzks-systems-diskless.preinst b/debian/itzks-systems-diskless.preinst new file mode 100755 index 0000000..e9d02f5 --- /dev/null +++ b/debian/itzks-systems-diskless.preinst @@ -0,0 +1,39 @@ +#!/bin/sh +# preinst script for itzks-systems-diskless +# +# 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) + if dpkg --compare-versions "$2" lt "2022.01.07.1~"; then + update-rc.d fetch-filter-cert remove >/dev/null || exit $? + fi + ;; + abort-upgrade) + ;; + *) + 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/itzks-systems-terminalserver.fetch-filter-cert.init b/debian/itzks-systems-terminalserver.fetch-filter-cert.init deleted file mode 120000 index 048dfd5..0000000 --- a/debian/itzks-systems-terminalserver.fetch-filter-cert.init +++ /dev/null @@ -1 +0,0 @@ -../etc/init.d/fetch-filter-cert
\ No newline at end of file diff --git a/debian/itzks-systems-terminalserver.maintscript b/debian/itzks-systems-terminalserver.maintscript new file mode 100644 index 0000000..905772a --- /dev/null +++ b/debian/itzks-systems-terminalserver.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/init.d/fetch-filter-cert 2022.01.07.1~ diff --git a/debian/itzks-systems-terminalserver.preinst b/debian/itzks-systems-terminalserver.preinst new file mode 100755 index 0000000..9ce101e --- /dev/null +++ b/debian/itzks-systems-terminalserver.preinst @@ -0,0 +1,39 @@ +#!/bin/sh +# preinst script for itzks-systems-terminalserver +# +# 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) + if dpkg --compare-versions "$2" lt "2022.01.07.1~"; then + update-rc.d fetch-filter-cert remove >/dev/null || exit $? + fi + ;; + abort-upgrade) + ;; + *) + 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/itzks-systems-workstation.fetch-filter-cert.init b/debian/itzks-systems-workstation.fetch-filter-cert.init deleted file mode 120000 index 048dfd5..0000000 --- a/debian/itzks-systems-workstation.fetch-filter-cert.init +++ /dev/null @@ -1 +0,0 @@ -../etc/init.d/fetch-filter-cert
\ No newline at end of file diff --git a/debian/itzks-systems-workstation.maintscript b/debian/itzks-systems-workstation.maintscript index 0b1adf0..e8df472 100644 --- a/debian/itzks-systems-workstation.maintscript +++ b/debian/itzks-systems-workstation.maintscript @@ -5,3 +5,4 @@ rm_conffile /etc/skel/Desktop/Netzwerkordner.desktop 2020.02.10.2~ rm_conffile /etc/skel/Desktop/pwdchange.desktop 2020.02.10.2~ rm_conffile /etc/skel/.mozilla/firefox/debian-edu.default/pkcs11.txt 2020.02.10.2~ rm_conffile /etc/skel/.pki/nssdb/pkcs11.txt 2020.02.10.2~ +rm_conffile /etc/init.d/fetch-filter-cert 2022.01.07.1~ diff --git a/debian/itzks-systems-workstation.preinst b/debian/itzks-systems-workstation.preinst new file mode 100755 index 0000000..b0c4693 --- /dev/null +++ b/debian/itzks-systems-workstation.preinst @@ -0,0 +1,39 @@ +#!/bin/sh +# preinst script for itzks-systems-workstation +# +# 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) + if dpkg --compare-versions "$2" lt "2022.01.07.1~"; then + update-rc.d fetch-filter-cert remove >/dev/null || exit $? + fi + ;; + abort-upgrade) + ;; + *) + 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 |