[Cryptech-Commits] [user/sra/novena-releng] 04/05: Turns out we don't need to provide a .postinst script, debhelper (dh_installinit) automatically generates exactly what we want.
git at cryptech.is
git at cryptech.is
Mon Jul 6 03:42:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch master
in repository user/sra/novena-releng.
commit 7040897b0d3f746730e70ba7d3a1f990c4b42f45
Author: Rob Austein <sra at hactrn.net>
Date: Sun Jul 5 21:11:42 2015 -0400
Turns out we don't need to provide a .postinst script, debhelper
(dh_installinit) automatically generates exactly what we want.
---
core/debian/cryptech-novena-rtl.postinst | 47 --------------------------------
1 file changed, 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
More information about the Commits
mailing list