summaryrefslogtreecommitdiff
path: root/debian/grub-legacy-ec2.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/grub-legacy-ec2.postinst')
-rw-r--r--debian/grub-legacy-ec2.postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/grub-legacy-ec2.postinst b/debian/grub-legacy-ec2.postinst
new file mode 100644
index 00000000..3c4aa5cd
--- /dev/null
+++ b/debian/grub-legacy-ec2.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ mkdir -p /boot/grub
+ update-grub-legacy-ec2 -y
+fi
+
+#DEBHELPER#