summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install')
-rw-r--r--pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
new file mode 100644
index 000000000..1c93b4b20
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+post_install() {
+ sed -e "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf
+ mkinitcpio -p linux-libre
+# echo " > Now add 'paralogo' to your HOOKS array in /etc/mkinitcpio.conf"
+# echo " > and rebuild initial ramdisk with # mkinitcpio -p linux-libre"
+# echo " > You can put your own artwork in /usr/share/paralogo/ and select"
+# echo " > a non-default one in /etc/paralogo.conf."
+}
+
+post_remove() {
+ sed -i "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf
+ mkinitcpio -p linux-libre
+}