summaryrefslogtreecommitdiffstats
path: root/abs/core/mkinitcpio/mkinitcpio.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:36:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:36:41 (GMT)
commit2391392463a41ca104c9ad8e1f66d7261c7d38e2 (patch)
treef3bac986ddafba10e67c0a6700ab23281ca0f07a /abs/core/mkinitcpio/mkinitcpio.install
parentd264db1fb0644ab00dce02733e33ed5601d2edd3 (diff)
downloadlinhes_pkgbuild-2391392463a41ca104c9ad8e1f66d7261c7d38e2.zip
linhes_pkgbuild-2391392463a41ca104c9ad8e1f66d7261c7d38e2.tar.gz
linhes_pkgbuild-2391392463a41ca104c9ad8e1f66d7261c7d38e2.tar.bz2
mkinitcpio .9.2
Diffstat (limited to 'abs/core/mkinitcpio/mkinitcpio.install')
-rw-r--r--abs/core/mkinitcpio/mkinitcpio.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/mkinitcpio/mkinitcpio.install b/abs/core/mkinitcpio/mkinitcpio.install
new file mode 100644
index 0000000..d8bbfdb
--- /dev/null
+++ b/abs/core/mkinitcpio/mkinitcpio.install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+post_upgrade() {
+ if [ "$(vercmp 0.9.0 "$2")" -eq 1 ]; then
+ printf '==> If your /usr is on a separate partition, you must add the "usr" hook\n'
+ printf ' to /etc/mkinitcpio.conf and regenerate your images before rebooting\n'
+ fi
+}