From e5da4ed4e135b43fdaeb7d037fe3a28d26107177 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philip=20M=C3=BCller?= <philm@manjaro.org>
Date: Thu, 20 Feb 2020 14:22:41 +0100
Subject: [PATCH] [pkg-upd] 27-2.1

---
 PKGBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index f440abd..9b2ebf6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 
 pkgname=mkinitcpio
 pkgver=27
-pkgrel=2.0
+pkgrel=2.1
 pkgdesc="Modular initramfs image creation utility"
 arch=('any')
 url="https://projects.archlinux.org/mkinitcpio.git/"
@@ -44,4 +44,7 @@ check() {
 
 package() {
   make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+  # https://www.archlinux.org/todo/alpm-hooks-should-use-type-path-not-file/
+  sed -i -e 's|File|Path|' "$pkgdir"/usr/share/libalpm/hooks/*hook
 }
-- 
GitLab