summaryrefslogtreecommitdiff
path: root/debian/kernel/postinst.d/x-grub-legacy-ec2
diff options
context:
space:
mode:
Diffstat (limited to 'debian/kernel/postinst.d/x-grub-legacy-ec2')
-rwxr-xr-xdebian/kernel/postinst.d/x-grub-legacy-ec218
1 files changed, 0 insertions, 18 deletions
diff --git a/debian/kernel/postinst.d/x-grub-legacy-ec2 b/debian/kernel/postinst.d/x-grub-legacy-ec2
deleted file mode 100755
index 33436510..00000000
--- a/debian/kernel/postinst.d/x-grub-legacy-ec2
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-version="$1"
-bootopt=""
-
-# passing the kernel version is required
-[ -z "${version}" ] && exit 0
-
-# avoid running multiple times
-if [ -n "$DEB_MAINT_PARAMS" ]; then
- eval set -- "$DEB_MAINT_PARAMS"
- if [ -z "$1" ] || [ "$1" != "configure" ]; then
- exit 0
- fi
-fi
-
-update=/usr/sbin/update-grub-legacy-ec2
-[ ! -x "${update}" ] || exec "${update}"