summaryrefslogtreecommitdiff
path: root/libre/gummiboot/gummiboot.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gummiboot/gummiboot.install')
-rw-r--r--libre/gummiboot/gummiboot.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/gummiboot/gummiboot.install b/libre/gummiboot/gummiboot.install
new file mode 100644
index 000000000..20861d4c8
--- /dev/null
+++ b/libre/gummiboot/gummiboot.install
@@ -0,0 +1,13 @@
+post_install() {
+ mkdir -p /boot/EFI/gummiboot
+ /usr/bin/gummiboot update
+ echo ":: Run '/usr/bin/gummiboot install' to make gummiboot your default bootloader"
+}
+
+post_upgrade() {
+ /usr/bin/gummiboot update
+}
+
+pre_remove() {
+ /usr/bin/gummiboot remove
+}