aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-07-05 21:11:42 -0400
committerRob Austein <sra@hactrn.net>2015-07-05 21:11:42 -0400
commit7040897b0d3f746730e70ba7d3a1f990c4b42f45 (patch)
treeb722adcdc2b2326672715aa91446209e5bc79e17
parente3d03b2d6f93ee50a03b07d0d4def86b746afec5 (diff)
Turns out we don't need to provide a .postinst script, debhelper
(dh_installinit) automatically generates exactly what we want.
-rw-r--r--core/debian/cryptech-novena-rtl.postinst47
1 files changed, 0 insertions, 47 deletions
diff --git a/core/debian/cryptech-novena-rtl.postinst b/core/debian/cryptech-novena-rtl.postinst
deleted file mode 100644
index d36653a..0000000
--- a/core/debian/cryptech-novena-rtl.postinst
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh -
-# postinst script for cryptech-novena-rtl
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# Perhaps this should run our /etc/init.d script in order to localize
-# the voodoo?
-
-load_fpga() {
- load_novena_fpga /usr/share/cryptech/novena_eim.bit
-}
-
-# 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)
- load_fpga
- ;;
-
- 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