From 98768c0ca446f3202ce4d3e79eb68e463f11c156 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Thu, 25 Aug 2022 08:26:44 +0200
Subject: Overhaul Debian package generation
---
etc/debian/postinst.ex | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 etc/debian/postinst.ex
(limited to 'etc/debian/postinst.ex')
diff --git a/etc/debian/postinst.ex b/etc/debian/postinst.ex
new file mode 100644
index 0000000..650b2ee
--- /dev/null
+++ b/etc/debian/postinst.ex
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postinst script for bashtard
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `configure'
+# * `abort-upgrade'
+# * `abort-remove' `in-favour'
+#
+# * `abort-remove'
+# * `abort-deconfigure' `in-favour'
+# `removing'
+#
+# for details, see https://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
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--
cgit v1.1