From 8fb8f02695e04468c1e2d72e600e4647296db749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 26 Aug 2021 15:05:07 +0200 Subject: DEB tdesshaskpass: Add packaging files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../applications/system/tdesshaskpass/debian/prerm | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ubuntu/_base/applications/system/tdesshaskpass/debian/prerm (limited to 'ubuntu/_base/applications/system/tdesshaskpass/debian/prerm') diff --git a/ubuntu/_base/applications/system/tdesshaskpass/debian/prerm b/ubuntu/_base/applications/system/tdesshaskpass/debian/prerm new file mode 100644 index 000000000..48eb7bfd7 --- /dev/null +++ b/ubuntu/_base/applications/system/tdesshaskpass/debian/prerm @@ -0,0 +1,43 @@ +#!/bin/sh +# prerm script for tdesshaskpass +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + update-alternatives --quiet \ + --remove ssh-askpass /opt/trinity/bin/tdesshaskpass + ;; + + upgrade) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm 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 -- cgit v1.2.1