From b185519ab94adb59734f40267c80f93f3ef88b2b Mon Sep 17 00:00:00 2001
From: Max Christian Pohle
Date: Sat, 11 Jul 2020 23:35:23 +0200
Subject: Improved error messages

---
 systemd-zfs-partition-backup/AUR/PKGBUILD | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

(limited to 'systemd-zfs-partition-backup/AUR')

diff --git a/systemd-zfs-partition-backup/AUR/PKGBUILD b/systemd-zfs-partition-backup/AUR/PKGBUILD
index 3d76738..8150e9b 100644
--- a/systemd-zfs-partition-backup/AUR/PKGBUILD
+++ b/systemd-zfs-partition-backup/AUR/PKGBUILD
@@ -13,12 +13,17 @@ depends=(
   'mkinitcpio'
 )
 source=("http://git.entwicklerseite.de/zfs-bash-tools/snapshot/zfs-bash-tools-master.tar.gz")
-sha256sums=('a8636f9fba3129feb07075daa802b47d6c338d35823a9bb8e3685efa799d1c3a')
+sha256sums=('a6089d8abb9c5a433f0f1513194b726f7c6072849891e1922cd664be79cc4df0')
 
 package() {
-    install -D zfs-bash-tools-master/${pkgname}.sh                                ../pkg/${pkgname}/usr/bin/${pkgname}.sh
-    install -D zfs-bash-tools-master/${pkgname}/systemd/${pkgname}\@.service      ../pkg/${pkgname}/usr/lib/systemd/system/${pkgname}.service
-    install -D zfs-bash-tools-master/${pkgname}/udev/rules.d/90-${pkgname}.rules  ../pkg/${pkgname}/etc/udev/rules.d/99-${pkgname}.rules
+    install -D        zfs-bash-tools-master/${pkgname}.sh \
+                                     ../pkg/${pkgname}/usr/bin/${pkgname}.sh
+
+    install -D -m 644 zfs-bash-tools-master/${pkgname}/systemd/${pkgname}\@.service \
+                                     ../pkg/${pkgname}/usr/lib/systemd/system/${pkgname}\@.service
+
+    install -D -m 644 zfs-bash-tools-master/${pkgname}/udev/rules.d/90-${pkgname}.rules \
+                                     ../pkg/${pkgname}/etc/udev/rules.d/90-${pkgname}.rules
 }
 
 # vim: ft=bash
-- 
cgit v1.2.3