[nvram-wakeup] 07/08: Install grub2 script only as an example (Closes: #801582)
Tobias Grimm
tiber-guest at moszumanska.debian.org
Sat Jan 7 11:35:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
tiber-guest pushed a commit to branch master
in repository nvram-wakeup.
commit 3e09f738152f7c986cc47686b43a1f7719d6f347
Author: Tobias Grimm <etobi at debian.org>
Date: Tue Oct 20 23:23:54 2015 +0200
Install grub2 script only as an example (Closes: #801582)
---
debian/examples | 1 +
debian/install | 1 -
debian/postinst | 44 --------------------------------------------
3 files changed, 1 insertion(+), 45 deletions(-)
diff --git a/debian/examples b/debian/examples
index e9c8f7b..00367ed 100644
--- a/debian/examples
+++ b/debian/examples
@@ -2,3 +2,4 @@ set_timer
set_timer.8
VDR/vdrshutdown
nvram-wakeup.conf
+debian/50_nvram_wakeup
diff --git a/debian/install b/debian/install
index 41cf8e1..cd1e96a 100644
--- a/debian/install
+++ b/debian/install
@@ -9,4 +9,3 @@ nvram-wakeup.conf etc/
debian/S90.nvram-wakeup usr/share/vdr/shutdown-hooks/
debian/vdr-nvram-wakeup.conf etc/vdr/
-debian/50_nvram_wakeup etc/grub.d/
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index f40c4d4..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-# postinst script for nvram-wakeup
-#
-# 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
- configure)
- # set correct permission on grub2-script
- [ -e /etc/grub.d/50_nvram_wakeup ] && chmod 0655 /etc/grub.d/50_nvram_wakeup
-
- # call update-grub to add the nvram-wakeup entry to the grub.cfg
- [ -x /usr/sbin/update-grub ] && update-grub
- ;;
-
- 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/nvram-wakeup.git
More information about the pkg-vdr-dvb-changes
mailing list